Skip to content

Commit d1d93fe

Browse files
committed
fix: update project name and UPSTREAM_ORIGIN in wrangler.toml
1 parent 3983b66 commit d1d93fe

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

wrangler.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "github-stats"
1+
name = 'stats'
22
main = "src/worker.ts"
33
compatibility_date = "2024-12-16"
44
compatibility_flags = ["nodejs_compat"]
@@ -12,7 +12,7 @@ cwd = "."
1212
[vars]
1313
ENVIRONMENT = "cloudflare"
1414
PORT = "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"
3636
main = "src/worker.ts"
3737
compatibility_date = "2024-12-16"
3838

3939
[env.development.vars]
4040
ENVIRONMENT = "cloudflare-dev"
4141
DEBUG = "true"
42-
UPSTREAM_ORIGIN = ""
42+
UPSTREAM_ORIGIN = "https://stats.pphatdev.workers.dev"
4343

4444
[[env.development.d1_databases]]
4545
binding = "DB"
@@ -58,18 +58,18 @@ preview_id = "e1c34e6f806c419e885f45607e3b0a84"
5858

5959
# Production environment
6060
[env.production]
61-
name = "github-stats-prod"
61+
name = "stats-prod"
6262
main = "src/worker.ts"
6363
compatibility_date = "2024-12-16"
6464

6565
[env.production.vars]
6666
ENVIRONMENT = "cloudflare-production"
6767
DEBUG = "false"
68-
UPSTREAM_ORIGIN = ""
68+
UPSTREAM_ORIGIN = "https://stats.pphatdev.workers.dev"
6969

7070
[[env.production.d1_databases]]
7171
binding = "DB"
72-
database_name = "github-stats"
72+
database_name = "stats"
7373
database_id = "a2b03b75-e470-480a-acd4-89bad0b42794"
7474

7575
[[env.production.kv_namespaces]]

0 commit comments

Comments
 (0)