diff --git a/_templates/cloudflare/pages-tinygo/wrangler.toml b/_templates/cloudflare/pages-tinygo/wrangler.toml index 0a5f9b6..47daa44 100644 --- a/_templates/cloudflare/pages-tinygo/wrangler.toml +++ b/_templates/cloudflare/pages-tinygo/wrangler.toml @@ -1,5 +1,5 @@ name = "pages-functions-tinygo" -compatibility_date = "2023-04-30" +compatibility_date = "2024-04-15" [build] command = "make build" diff --git a/_templates/cloudflare/worker-tinygo/wrangler.toml b/_templates/cloudflare/worker-tinygo/wrangler.toml index e5a3bdc..444229d 100644 --- a/_templates/cloudflare/worker-tinygo/wrangler.toml +++ b/_templates/cloudflare/worker-tinygo/wrangler.toml @@ -1,9 +1,6 @@ name = "tinygo-worker" main = "./build/worker.mjs" -compatibility_date = "2022-05-13" -compatibility_flags = [ - "streams_enable_constructors" -] +compatibility_date = "2024-04-15" [build] command = "make build"