Skip to content

Commit 2b3b8ef

Browse files
committed
chore: check canonical middleware
1 parent 66aa0ff commit 2b3b8ef

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
@@ -33,7 +33,7 @@ const cacheControl = 's-maxage=3600, stale-while-revalidate=36000'
3333

3434
export default defineEventHandler(async event => {
3535
const routeRules = getRouteRules(event)
36-
if (Object.keys(routeRules).length > 1) {
36+
if (Object.keys(routeRules).length > 1 || 1 === 1) {
3737
return
3838
}
3939

0 commit comments

Comments
 (0)