Skip to content

Commit ddb61e9

Browse files
committed
fix: correct username prefix
1 parent ea9a401 commit ddb61e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/middleware/canonical-redirects.global.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineEventHandler(async event => {
2323
const path = event.path.split('?')[0]!
2424

2525
// username
26-
if (path.startsWith('~')) {
26+
if (path.startsWith('/~')) {
2727
return
2828
}
2929

0 commit comments

Comments
 (0)