feat(web): add list-operator node & support file type variables
This commit is contained in:
@@ -8,10 +8,20 @@ import tailwindcss from '@tailwindcss/vite'
|
||||
export default defineConfig({
|
||||
server: {
|
||||
host: '0.0.0.0', // 支持通过IP地址访问
|
||||
port: 5175,
|
||||
proxy: {
|
||||
// 主要API代理,支持 /api 和 /api/* 格式
|
||||
'/api': {
|
||||
target: 'http://0.0.0.0:5173', // 后端服务地址
|
||||
// target: 'http://192.168.110.83:8000', // wxy
|
||||
// target: 'http://192.168.110.86:8000', // lxy
|
||||
// target: 'http://192.168.110.2:8000', // xjn
|
||||
// target: 'http://192.168.110.72:8000', // llq
|
||||
// target: 'http://192.168.110.39:8000', // myh
|
||||
target: 'https://devmemorybear.redbearai.com/', // 开发后端服务地址
|
||||
// target: 'https://devcopymemorybear.redbearai.com/', // 开发sass后端服务地址
|
||||
// target: 'https://testmemorybear.redbearai.com/', // 测试后端服务地址
|
||||
// target: 'https://memorybear.redbearai.com/', // 预发服务地址
|
||||
// target: 'https://cloud.memorybear.ai/', // AMAZON 生产地址
|
||||
changeOrigin: true,
|
||||
|
||||
// 匹配所有以/api开头的请求,包括/api/token
|
||||
|
||||
Reference in New Issue
Block a user