Merge pull request 'master' (#11) from master into dev

Reviewed-on: http://git.feashow.cn/clay/tunnel-cloud-web/pulls/11
This commit is contained in:
odjbin
2023-12-03 12:22:30 +00:00

View File

@@ -57,36 +57,6 @@ export default defineConfig({
strictPort: false,
open: true,
proxy: {
// '/api/custom': {
// // target: 'http://web-tunnel.feashow.com/api',
// target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
// '/api/admin': {
// target: 'http://web-tunnel.feashow.com/api',
// // target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
// '/api/auth': {
// target: 'http://web-tunnel.feashow.com/api',
// // target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
// '/api/log': {
// // target: 'http://web-tunnel.feashow.com/api',
// target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
// '/api/code-gen': {
// // target: 'http://web-tunnel.feashow.com/api',
// target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ''),
// },
'/api': {
target: 'http://web-tunnel.feashow.com/api',
// target: 'http://192.168.31.175:8000',