From cd21a33d87dca4f169666e3e464c534a0882c722 Mon Sep 17 00:00:00 2001 From: Roc Date: Thu, 14 Mar 2024 12:33:58 +0800 Subject: [PATCH] docs: change deploy cmd --- .dumirc.ts | 3 ++- docs/dist/404.html | 4 ++-- docs/dist/index.html | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index 3d6a39e..74344cd 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -1,6 +1,7 @@ import { defineConfig } from 'dumi'; -const publicPath = process.env.NODE_ENV === 'development' ? '/' : '/ld/o-orange/'; +// const publicPath = process.env.NODE_ENV === 'development' ? '/' : '/ld/o-orange/'; +const publicPath = process.env.NODE_ENV === 'development' ? '/' : '/o-orange/'; export default defineConfig({ publicPath, diff --git a/docs/dist/404.html b/docs/dist/404.html index ce2a492..4b34806 100644 --- a/docs/dist/404.html +++ b/docs/dist/404.html @@ -2,10 +2,10 @@ - +
- + \ No newline at end of file diff --git a/docs/dist/index.html b/docs/dist/index.html index ce2a492..4b34806 100644 --- a/docs/dist/index.html +++ b/docs/dist/index.html @@ -2,10 +2,10 @@ - +
- + \ No newline at end of file