fix route
This commit is contained in:
1 parent
8832489390
commit
e88fdb73be
4 files changed
+3
-14
No files matched your search
+2
-2
@@ -2,14 +2,14 @@ import { createRouter, createWebHistory } from 'vue-router';
|
||||
import auth from './auth';
|
||||
import chat from './chat';
|
||||
import midjourney from './midjourney';
|
||||
import { ROUTE_CONVERSATION_NEW, ROUTE_INDEX } from './constants';
|
||||
import { ROUTE_CHAT_INDEX, ROUTE_INDEX } from './constants';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: ROUTE_INDEX,
|
||||
redirect: {
|
||||
name: ROUTE_CONVERSATION_NEW
|
||||
name: ROUTE_CHAT_INDEX
|
||||
}
|
||||
},
|
||||
auth,
|
||||
|
||||
Reference in new issue
Block a user