Update to latest wrangler version
Change-Id: I213f3e6bfd5dd6cd2479ae4d4ce4ee2a94f228a2
Reviewed-on: https://src.jottocraft.com/c/dtps/+/140
Reviewed-by: spike <[email protected]>
diff --git a/wrangler.toml b/wrangler.toml
index 960fd36..fbddb21 100644
--- a/wrangler.toml
+++ b/wrangler.toml
@@ -1,17 +1,18 @@
name = "dtps"
main = "server/index.js"
-compatibility_date = "2022-11-09"
+compatibility_date = "2026-08-04"
account_id = "17174d3fc7098a664b04fb3c4c4ec65c"
workers_dev = false
services = [
- { binding = "HTTP_STATUS_PAGES", service = "http-status-pages" }
+ { binding = "HTTP_STATUS_PAGES", service = "http-status-pages", remote = true }
]
-[site]
-bucket = "./build"
+analytics_engine_datasets = [
+ { binding = "STATS", dataset = "dtps_stats" }
+]
-[[unsafe.bindings]]
-type = "analytics_engine"
-name = "STATS"
-dataset = "dtps_stats"
\ No newline at end of file
+[assets]
+directory = "./build"
+binding = "ASSETS"
+run_worker_first = true