Skip to content

Commit 8e8f43b

Browse files
committed
fix: domain routing issue
1 parent c390a51 commit 8e8f43b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

wrangler.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ main = "src/worker.ts"
33
send_metrics = false
44
compatibility_date = "2024-09-23"
55
routes = [
6-
{ pattern = "dev.testnet.polykey.com", custom_domain = false },
6+
{ pattern = "dev.testnet.polykey.com", custom_domain = true },
77
]
88
[site]
99
bucket = "./public"
@@ -12,10 +12,12 @@ routes = [
1212
name = "polykey-network-dashboard-staging"
1313
routes = [
1414
{ pattern = "testnet.polykey.com", custom_domain = false },
15+
{ pattern = "testnet.polykey.com/*", custom_domain = false },
1516
]
1617

1718
[env.master]
1819
name = "polykey-network-dashboard"
1920
routes = [
2021
{ pattern = "mainnet.polykey.com", custom_domain = false },
22+
{ pattern = "mainnet.polykey.com/*", custom_domain = false },
2123
]

0 commit comments

Comments
 (0)