From 82b41e50a007267565af194123e2940e941fda1b Mon Sep 17 00:00:00 2001 From: Vasilii Mikhailovskii Date: Tue, 3 Dec 2024 00:38:36 +0200 Subject: [PATCH] add /qr/ to read route --- apps/frontend/src/router/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/frontend/src/router/index.ts b/apps/frontend/src/router/index.ts index f327cb2..80baa7b 100644 --- a/apps/frontend/src/router/index.ts +++ b/apps/frontend/src/router/index.ts @@ -32,22 +32,22 @@ const routes = [ props: true, }, { - path: '/read/:qr_code_uri', + path: '/read/qr/:qr_code_uri', name: ROUTE_NAMES.READ_QR_CODE, component: () => import('@/views/ReadQRCodeView.vue'), props: true, }, + { + path: '/read/qr/:qr_code_uri/chat/:chat', + name: ROUTE_NAMES.PUBLIC_CHAT, + component: () => import('@/views/PublicChatView.vue'), + props: true, + }, { path: '/donate', name: ROUTE_NAMES.DONATE, component: () => import('@/views/DonateView.vue'), }, - { - path: '/read/:qr_code_uri/chat/:chat', - name: ROUTE_NAMES.PUBLIC_CHAT, - component: () => import('@/views/PublicChatView.vue'), - props: true, - }, // Закомментированные маршруты // {