添加瓦片代理
This commit is contained in:
@@ -28,7 +28,13 @@ export default defineConfig({
|
||||
}
|
||||
],
|
||||
server: {
|
||||
port: 5173
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/tiles': {
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
},
|
||||
build: {
|
||||
outDir: resolve(__dirname, '../dist')
|
||||
|
||||
Reference in New Issue
Block a user