This commit is contained in:
那些花儿
2025-05-06 20:15:51 +08:00
parent 178da5f9df
commit c21ba7b426
13 changed files with 120 additions and 137 deletions
+3 -3
View File
@@ -28,13 +28,13 @@ export default defineConfig({
}
},
server: {
/* https: {
https: {
cert: fs.readFileSync(path.join(__dirname, 'src/ssl/localhost+2.pem')),
key: fs.readFileSync(path.join(__dirname, 'src/ssl/localhost+2-key.pem'))
},*/
},
proxy: {
'/api': {
target: 'http://localhost:9090',
target: 'http://192.168.41.118:9090',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}