导师列表和导师详情
This commit is contained in:
+9
-4
@@ -27,13 +27,18 @@ export default defineConfig({
|
||||
host: '0.0.0.0',
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'http://192.168.31.133:8080',
|
||||
target: 'http://127.0.0.1:8080',
|
||||
target: 'https://test.offerpai.com.cn/',
|
||||
// target: 'http://127.0.0.1:8080',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/jianshi-api': {
|
||||
target: 'https://www.jianshixingqiu.com',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/jianshi-api/, '/proxy-api'),
|
||||
},
|
||||
'/ai-api': {
|
||||
// target: 'http://192.168.31.133:8000',
|
||||
target: 'http://127.0.0.1:8000',
|
||||
target: 'https://test.offerpai.com.cn/',
|
||||
// target: 'http://127.0.0.1:8000',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/ai-api/, ''),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user