feat: 修复Container界面和File App 和 User App
User App 添加permission
This commit is contained in:
@@ -23,7 +23,7 @@ plugins.push(tailwindcss());
|
||||
const devBackend = 'https://kevisual.silkyai.cn';
|
||||
const meBackend = 'https://kevisual.xiongxiao.me';
|
||||
// const backend = isDev ? devBackend : meBackend;
|
||||
const backendWss = devBackend.replace(/^https:/, 'wss:');
|
||||
const backendWss = devBackend.replace(/^https:/, 'wss:');
|
||||
const backend = devBackend;
|
||||
let proxy = {};
|
||||
if (true) {
|
||||
@@ -47,6 +47,9 @@ if (true) {
|
||||
cookieDomainRewrite: 'localhost',
|
||||
rewrite: (path: any) => path.replace(/^\/user/, '/user'),
|
||||
},
|
||||
'/test': {
|
||||
target: backend,
|
||||
},
|
||||
};
|
||||
}
|
||||
// https://vitejs.dev/config/
|
||||
|
||||
Reference in New Issue
Block a user