修改 config publicPath ,NGINX 转发,还有层 admin-web 目录
This commit is contained in:
parent
fd9f9a6368
commit
08cbed2483
|
@ -62,8 +62,8 @@ export default {
|
||||||
// add for transfer to umi
|
// add for transfer to umi
|
||||||
// base: '/adsf',
|
// base: '/adsf',
|
||||||
// runtimePublicPath: true,
|
// runtimePublicPath: true,
|
||||||
base: '/admin-web',
|
base: '/admin-web/',
|
||||||
publicPath: './admin-web/',
|
publicPath: '/admin-web/',
|
||||||
plugins,
|
plugins,
|
||||||
define: {
|
define: {
|
||||||
APP_TYPE: APP_TYPE || '',
|
APP_TYPE: APP_TYPE || '',
|
||||||
|
|
Loading…
Reference in New Issue