add /r/:qr_code_uri alias
Deploy app frontend / app frontend (push) Has been cancelled

This commit is contained in:
2024-12-19 09:42:15 +02:00
parent 68e267f44c
commit 1da995f2a8
+11
View File
@@ -56,8 +56,19 @@ const routes = [
component: () => import('@/views/manage/ManageQRCodeChatView.vue'),
props: true,
},
// {
// path: '/r/:qr_code_uri',
// redirect: (to) => {
// return {
// name: ROUTE_NAMES.READ_QR_CODE,
// params: to.params,
// query: to.params.query,
// }
// },
// },
{
path: '/read/qr/:qr_code_uri',
alias: '/r/:qr_code_uri',
name: ROUTE_NAMES.READ_QR_CODE,
component: () => import('@/views/ReadQRCodeView.vue'),
props: true,