From ca6acea70f5abe2906bd12cd798cb9edda95ca26 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 10 Jul 2022 21:45:05 -0700 Subject: [PATCH] Add compatibility_date This is required to publish a worker when using wrangler v2 --- cors/wrangler.toml.example | 1 + hash/wrangler.toml.example | 1 + instagram/wrangler.toml.example | 1 + ip/wrangler.toml.example | 1 + proxy/wrangler.toml.example | 1 + pwned/wrangler.toml.example | 1 + qr/wrangler.toml.example | 1 + style/wrangler.toml.example | 1 + unroll/wrangler.toml.example | 1 + uuid/wrangler.toml.example | 1 + 10 files changed, 10 insertions(+) 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/*' -- 2.47.3