修改模拟面试的相关内容

This commit is contained in:
2025-09-21 21:19:26 +08:00
parent 4ca9fbbe73
commit 124444671a
11 changed files with 787 additions and 137 deletions

View File

@@ -13,14 +13,14 @@ export default defineConfig({
},
server: {
host: '0.0.0.0',
proxy: {
// Proxy API requests to the backend server
'/api': {
target: 'http://localhost:8080',
changeOrigin: true, // Needed for virtual hosted sites
secure: false, // Optional: if you are using https
rewrite: (path) => path.replace(/^\/api/, ''),
},
},
// proxy: {
// // Proxy API requests to the backend server
// '/api': {
// target: 'http://localhost:8080',
// changeOrigin: true, // Needed for virtual hosted sites
// secure: false, // Optional: if you are using https
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
// },
},
})