Skip to content

Commit f47516a

Browse files
authored
Fix redirect not working (#265)
fix: redirect not working
1 parent bc12d09 commit f47516a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/security.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export function httpsOnly() {
1212
}
1313

1414
url.protocol = "https:";
15-
c.redirect(url.toString());
15+
return c.redirect(url.toString());
1616
});
1717
}

0 commit comments

Comments
 (0)