fix: 修复本地上传资源路径解析
This commit is contained in:
@@ -15,6 +15,7 @@ export default defineConfig({
|
||||
host: true,
|
||||
proxy: {
|
||||
'/api': { target: 'http://localhost:3000', changeOrigin: true },
|
||||
'/uploads': { target: 'http://localhost:3000', changeOrigin: true },
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user