浏览代码

feat: ss-ragflow适配修改

Hacked_v0.17.2
fellow99 7 个月前
父节点
当前提交
6b9ef029e9
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      web/.umirc.ts
  2. 1
    1
      web/src/utils/authorization-util.ts

+ 1
- 1
web/.umirc.ts 查看文件

@@ -6,7 +6,7 @@ import routes from './src/routes';

export default defineConfig({
title: appName,
outputPath: 'dist',
outputPath: 'dist/ss-ragflow',
alias: { '@parent': path.resolve(__dirname, '../') },
npmClient: 'npm',
base: '/ss-ragflow/',

+ 1
- 1
web/src/utils/authorization-util.ts 查看文件

@@ -59,5 +59,5 @@ export default storage;

// Will not jump to the login page
export function redirectToLogin() {
window.location.href = location.origin + `/login`;
window.location.href = location.origin + `/ss-ragflow/login`;
}

正在加载...
取消
保存