We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a39372 commit ecff983Copy full SHA for ecff983
2 files changed
worker/wrangler.toml
@@ -0,0 +1,9 @@
1
+name = "slt-status-worker"
2
+compatibility_date = "2024-05-01"
3
+
4
+[[kv_namespaces]]
5
+binding = "STATUS_KV"
6
+id = "d6179b2f901645de81b9805c4e7ac591"
7
8
+[triggers]
9
+crons = ["* * * * *"]
wrangler.toml
@@ -1,6 +1,14 @@
-name = "slt-status-page"
+name = "slt-status"
compatibility_date = "2024-05-01"
-pages_build_output_dir = "./frontend"
+# Single-worker + static `site` configuration so `wrangler` publishes both
+# the Worker entrypoint and the `frontend/` static files together.
+main = "frontend/_worker.js"
+[site]
+bucket = "./frontend"
10
+include = ["**/*"]
11
+exclude = ["**/.git/*"]
12
13
[vars]
14
# GITHUB_GIST_ID = "" (Set via secrets or vars later)
0 commit comments