File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ cwd = "."
1212[vars ]
1313ENVIRONMENT = " cloudflare"
1414PORT = " 3000"
15+ UPSTREAM_ORIGIN = " https://stats.pphatdev.workers.dev"
1516
1617# D1 Database Binding - SQLite for Cloudflare
1718[[d1_databases ]]
@@ -38,7 +39,7 @@ compatibility_date = "2024-12-16"
3839[env .development .vars ]
3940ENVIRONMENT = " cloudflare-dev"
4041DEBUG = " true"
41- PORT = " 3000 "
42+ UPSTREAM_ORIGIN = " https://stats.pphatdev.workers.dev "
4243
4344[[env .development .d1_databases ]]
4445binding = " DB"
@@ -57,14 +58,14 @@ preview_id = "e1c34e6f806c419e885f45607e3b0a84"
5758
5859# Production environment
5960[env .production ]
60- name = " stats-prod "
61+ name = " stats"
6162main = " src/worker.ts"
6263compatibility_date = " 2024-12-16"
6364
6465[env .production .vars ]
6566ENVIRONMENT = " cloudflare-production"
6667DEBUG = " false"
67- PORT = " 3000 "
68+ UPSTREAM_ORIGIN = " https://stats.pphatdev.workers.dev "
6869
6970[[env .production .d1_databases ]]
7071binding = " DB"
You can’t perform that action at this time.
0 commit comments