图像路径

This commit is contained in:
2023-02-19 03:28:36 +08:00
parent 87a9c5bd35
commit 830710ae1d
3 changed files with 53 additions and 45 deletions

View File

@@ -13,4 +13,26 @@ export default defineNuxtConfig({
}
}
},
nitro: {
devProxy: {
'/api': {
target: 'http://106.15.192.42:3000/api'
}
},
},
//devServer: {
// host: '106.15.192.42',
// port: 3000,
// url: 'http://106.15.192.42:3000'
//},
//vite: {
// server: {
// proxy: {
// '/api': {
// target: 'http://106.15.192.42:3000',
// changeOrigin: true
// }
// }
// }
//}
})