Merge pull request '邓洁 :修改细节' (#10) from dj into master

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

View File

@@ -57,36 +57,6 @@ export default defineConfig({
strictPort: false, strictPort: false,
open: true, open: true,
proxy: { 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': { '/api': {
target: 'http://web-tunnel.feashow.com/api', target: 'http://web-tunnel.feashow.com/api',
// target: 'http://192.168.31.175:8000', // target: 'http://192.168.31.175:8000',