Skip to content

Commit 3a34307

Browse files
committed
Improve play route path
1 parent 535744b commit 3a34307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/setup/routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function setupRoutes() {
6767
routes.push(
6868
{
6969
name: 'play',
70-
path: '/:no',
70+
path: '/:no(\\d+)',
7171
component: () => import('../pages/play.vue'),
7272
},
7373
{

0 commit comments

Comments
 (0)