From: Ardis Lu Date: Mon, 11 Jul 2022 04:45:05 +0000 (-0700) Subject: Add compatibility_date X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=ca6acea70f5abe2906bd12cd798cb9edda95ca26;p=cloudflare-workers Add compatibility_date This is required to publish a worker when using wrangler v2 --- diff --git a/cors/wrangler.toml.example b/cors/wrangler.toml.example index b7ae63a..2c0143a 100644 --- a/cors/wrangler.toml.example +++ b/cors/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'cors' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/hash/wrangler.toml.example b/hash/wrangler.toml.example index 4d2c657..18e859d 100644 --- a/hash/wrangler.toml.example +++ b/hash/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'hash' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/instagram/wrangler.toml.example b/instagram/wrangler.toml.example index 29fe590..10e17f1 100644 --- a/instagram/wrangler.toml.example +++ b/instagram/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'instagram' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/ip/wrangler.toml.example b/ip/wrangler.toml.example index bba5fac..4df949a 100644 --- a/ip/wrangler.toml.example +++ b/ip/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'ip' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/proxy/wrangler.toml.example b/proxy/wrangler.toml.example index ceed098..d45cc19 100644 --- a/proxy/wrangler.toml.example +++ b/proxy/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'proxy' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/pwned/wrangler.toml.example b/pwned/wrangler.toml.example index 4691bd0..0feadea 100644 --- a/pwned/wrangler.toml.example +++ b/pwned/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'pwned' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/qr/wrangler.toml.example b/qr/wrangler.toml.example index fefa74f..ab62447 100644 --- a/qr/wrangler.toml.example +++ b/qr/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'qr' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/style/wrangler.toml.example b/style/wrangler.toml.example index be536bb..8607183 100644 --- a/style/wrangler.toml.example +++ b/style/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'style' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/unroll/wrangler.toml.example b/unroll/wrangler.toml.example index e294fab..97917e3 100644 --- a/unroll/wrangler.toml.example +++ b/unroll/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'unroll' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*' diff --git a/uuid/wrangler.toml.example b/uuid/wrangler.toml.example index f116c8c..a7ef91f 100644 --- a/uuid/wrangler.toml.example +++ b/uuid/wrangler.toml.example @@ -1,3 +1,4 @@ name = 'uuid' main = 'index.js' +compatibility_date = '2022-07-10' route = 'example.com/*'