File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name = " github- stats"
1+ name = ' stats'
22main = " src/worker.ts"
33compatibility_date = " 2024-12-16"
44compatibility_flags = [" nodejs_compat" ]
@@ -12,7 +12,7 @@ cwd = "."
1212[vars ]
1313ENVIRONMENT = " cloudflare"
1414PORT = " 3000"
15- UPSTREAM_ORIGIN = " "
15+ UPSTREAM_ORIGIN = " https://stats.pphatdev.workers.dev "
1616
1717# D1 Database Binding - SQLite for Cloudflare
1818[[d1_databases ]]
@@ -32,14 +32,14 @@ preview_id = "e1c34e6f806c419e885f45607e3b0a84"
3232
3333# Development environment
3434[env .development ]
35- name = " github- stats-dev"
35+ name = " stats-dev"
3636main = " src/worker.ts"
3737compatibility_date = " 2024-12-16"
3838
3939[env .development .vars ]
4040ENVIRONMENT = " cloudflare-dev"
4141DEBUG = " true"
42- UPSTREAM_ORIGIN = " "
42+ UPSTREAM_ORIGIN = " https://stats.pphatdev.workers.dev "
4343
4444[[env .development .d1_databases ]]
4545binding = " DB"
@@ -58,18 +58,18 @@ preview_id = "e1c34e6f806c419e885f45607e3b0a84"
5858
5959# Production environment
6060[env .production ]
61- name = " github- stats-prod"
61+ name = " stats-prod"
6262main = " src/worker.ts"
6363compatibility_date = " 2024-12-16"
6464
6565[env .production .vars ]
6666ENVIRONMENT = " cloudflare-production"
6767DEBUG = " false"
68- UPSTREAM_ORIGIN = " "
68+ UPSTREAM_ORIGIN = " https://stats.pphatdev.workers.dev "
6969
7070[[env .production .d1_databases ]]
7171binding = " DB"
72- database_name = " github- stats"
72+ database_name = " stats"
7373database_id = " a2b03b75-e470-480a-acd4-89bad0b42794"
7474
7575[[env .production .kv_namespaces ]]
You can’t perform that action at this time.
0 commit comments