Skip to content

Commit

Permalink
chore: setting git pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jzllove9 committed Sep 14, 2024
1 parent d652146 commit 3fb6dd9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { defineConfig } from 'dumi';

const isDev = process.env.NODE_ENV === 'development';
const basePath = isDev ? '/' : '/XForm/';

export default defineConfig({
publicPath: '/XForm/',
base: basePath,
publicPath: basePath,
outputPath: 'docs-dist',
favicons: ['/logo.png'],
themeConfig: {
Expand Down

0 comments on commit 3fb6dd9

Please sign in to comment.