mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
publicPath使用相对目录
This commit is contained in:
parent
a5075ab28f
commit
015cdc10a7
|
@ -6,10 +6,11 @@ export default defineConfig({
|
|||
antd: {},
|
||||
outputPath: 'static/dist',
|
||||
fastRefresh: true,
|
||||
favicons: ['/images/favicon.svg'],
|
||||
favicons: ['./images/favicon.svg'],
|
||||
mfsu: {
|
||||
strategy: 'eager',
|
||||
},
|
||||
publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
|
||||
proxy: {
|
||||
'/api/public': {
|
||||
target: 'http://127.0.0.1:5400/',
|
||||
|
|
Loading…
Reference in New Issue
Block a user