Skip to content

Commit 7fc94bb

Browse files
Copilotkiyarose
andauthored
fix: switch [site] to [assets] in wrangler.toml to provide ASSETS binding
Agent-Logs-Url: https://github.com/SillyLittleTech/UpMagic/sessions/092e9305-81db-40d5-be0f-9d4d14132765 Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
1 parent 3548ee2 commit 7fc94bb

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

wrangler.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name = "upmagic"
22
compatibility_date = "2024-05-01"
33

4-
# Use a Worker + site configuration so Wrangler deploys both the Worker and static files
54
main = "worker/index.js"
65

7-
[site]
8-
bucket = "./frontend"
9-
include = ["**/*"]
10-
exclude = ["**/.git/*"]
6+
[assets]
7+
directory = "./frontend"
118

129
[vars]
1310
# GITHUB_GIST_ID = "" (Set via secrets or vars later)

0 commit comments

Comments
 (0)