mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-16 06:16:51 +08:00
Merge branch 'dev' into system
# Conflicts: # src/router/generatedRouter/index.js
This commit is contained in:
@@ -34,6 +34,28 @@ module.exports = {
|
||||
errors: true
|
||||
},
|
||||
proxy: {
|
||||
'/app': {
|
||||
target: 'http://localhost:3000',
|
||||
changeOrigin: true,
|
||||
onProxyRes: (proxyRes, req, res) => {
|
||||
delete proxyRes.headers['x-frame-options']
|
||||
},
|
||||
pathRewrite: {
|
||||
// '^/app': '/'
|
||||
},
|
||||
logLevel: 'debug'
|
||||
},
|
||||
'/_next': {
|
||||
target: 'http://localhost:3000',
|
||||
changeOrigin: true,
|
||||
onProxyRes: (proxyRes, req, res) => {
|
||||
delete proxyRes.headers['x-frame-options']
|
||||
},
|
||||
pathRewrite: {
|
||||
// '^/_next': '/'
|
||||
},
|
||||
logLevel: 'debug'
|
||||
},
|
||||
'/api': {
|
||||
target: process.env.VUE_APP_ADMIN,
|
||||
changeOrigin: true,
|
||||
|
||||
Reference in New Issue
Block a user