| @@ -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/', | |||
| @@ -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`; | |||
| } | |||