We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9664da9 commit 0a68706Copy full SHA for 0a68706
apps/docs/server/main.ts
@@ -10,7 +10,7 @@ interface Env {
10
const runtime = withRuntime<Env>({
11
fetch: async (req, env) => {
12
const url = new URL(req.url);
13
- if (url.pathname === "/" || url.pathname === "") {
+ if (url.pathname === "/" || url.pathname === "" || url.pathname === "/en") {
14
return Response.redirect(new URL("/en/introduction", req.url), 302);
15
}
16
apps/docs/wrangler.toml
@@ -12,6 +12,7 @@ custom_domain = true
[assets]
directory = "./dist/client"
binding = "ASSETS"
+run_worker_first = true
17
[deco]
18
workspace = "deco.cx"
0 commit comments