Skip to content

Commit

Permalink
fix: enable nodejs_compat for worker when deployed with terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard committed Aug 27, 2024
1 parent e1475f1 commit f774cc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deployment/modules/cloudflare/tiles/workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ resource "cloudflare_workers_script" "tiles" {
name = "KV"
namespace_id = cloudflare_workers_kv_namespace.tiles.id
}

compatibility_date = "2024-07-29"
compatibility_flags = ["nodejs_compat"]
}

resource "cloudflare_workers_domain" "tiles" {
Expand Down

0 comments on commit f774cc3

Please sign in to comment.