Skip to content

Commit 021fd8a

Browse files
committed
fix: remove UPSTREAM_ORIGIN variable and standardize PORT configuration in wrangler.toml
1 parent d1d93fe commit 021fd8a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

wrangler.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ cwd = "."
1212
[vars]
1313
ENVIRONMENT = "cloudflare"
1414
PORT = "3000"
15-
UPSTREAM_ORIGIN = "https://stats.pphatdev.workers.dev"
1615

1716
# D1 Database Binding - SQLite for Cloudflare
1817
[[d1_databases]]
@@ -39,7 +38,7 @@ compatibility_date = "2024-12-16"
3938
[env.development.vars]
4039
ENVIRONMENT = "cloudflare-dev"
4140
DEBUG = "true"
42-
UPSTREAM_ORIGIN = "https://stats.pphatdev.workers.dev"
41+
PORT = "3000"
4342

4443
[[env.development.d1_databases]]
4544
binding = "DB"
@@ -65,7 +64,7 @@ compatibility_date = "2024-12-16"
6564
[env.production.vars]
6665
ENVIRONMENT = "cloudflare-production"
6766
DEBUG = "false"
68-
UPSTREAM_ORIGIN = "https://stats.pphatdev.workers.dev"
67+
PORT = "3000"
6968

7069
[[env.production.d1_databases]]
7170
binding = "DB"

0 commit comments

Comments
 (0)