File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ import { join } from 'path';
33import { defineThemeConfig } from 'dumi-theme-antd/dist/defineThemeConfig' ;
44
55const isProduction = process . env . NODE_ENV === 'production' ;
6- const basePath = isProduction ? '/portal' : '' ;
6+ const basePath = isProduction ? '/portal/ ' : '/ ' ;
77
88const themeConfig = defineThemeConfig ( {
9- base : basePath ,
109 name : 'GraphScope' ,
1110 title : 'GraphScope Portal' ,
1211 logo : 'https://img.alicdn.com/imgextra/i4/O1CN01uhy1Yu1lO7HkUaW3K_!!6000000004808-2-tps-256-257.png' ,
@@ -161,6 +160,8 @@ const themeConfig = defineThemeConfig({
161160 ] ,
162161} ) ;
163162export default defineConfig ( {
163+ base : basePath ,
164+ publicPath : basePath ,
164165 title : 'GraphScope' ,
165166 favicons : [ 'https://img.alicdn.com/imgextra/i3/O1CN01DaSVLB1lD7ZIbDOi2_!!6000000004784-2-tps-256-257.png' ] , // 网站 favicon
166167 metas : [
You can’t perform that action at this time.
0 commit comments