修改 config publicPath ,NGINX 转发,还有层 admin-web 目录
This commit is contained in:
parent
75b133eab8
commit
fd9f9a6368
@ -60,6 +60,10 @@ if (APP_TYPE === 'site') {
|
||||
|
||||
export default {
|
||||
// add for transfer to umi
|
||||
// base: '/adsf',
|
||||
// runtimePublicPath: true,
|
||||
base: '/admin-web',
|
||||
publicPath: './admin-web/',
|
||||
plugins,
|
||||
define: {
|
||||
APP_TYPE: APP_TYPE || '',
|
||||
|
Loading…
Reference in New Issue
Block a user