Skip to content

Commit 2cecf66

Browse files
committed
fix: add www subdomain
1 parent 015e319 commit 2cecf66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const app = new Hono();
77

88
app.use("*", async (ctx, next) => {
99
const url = new URL(ctx.req.url);
10-
if (url.hostname === "coder.app") {
10+
if (url.hostname === "coder.app" || url.hostname === "www.coder.app") {
1111
return ctx.redirect("https://coder.com");
1212
}
1313

0 commit comments

Comments
 (0)