完全跑通1.0版本
This commit is contained in:
@@ -8,8 +8,9 @@ export default defineConfig({
|
||||
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
|
||||
},
|
||||
server: {
|
||||
allowedHosts: ['ddc.chenwuzhu.cn'],
|
||||
proxy: {
|
||||
'/api': { target: 'http://localhost:8000', changeOrigin: true },
|
||||
'/api': { target: 'http://127.0.0.1:8000', changeOrigin: true },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user