]> git.ardis.lu - cloudflare-workers/commitdiff
Update example configs to use custom domains
authorArdis Lu <ardisglu@gmail.com>
Sat, 21 Jan 2023 06:12:20 +0000 (22:12 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sat, 21 Jan 2023 06:12:20 +0000 (22:12 -0800)
Better reflects usage in the README and actual usage

cors/wrangler.toml.example
hash/wrangler.toml.example
instagram/wrangler.toml.example
ip/wrangler.toml.example
proxy/wrangler.toml.example
pwned/wrangler.toml.example
qr/wrangler.toml.example
style/wrangler.toml.example
unroll/wrangler.toml.example
uuid/wrangler.toml.example

index a9d818f0036b7ce4867d57f3770264f30c9179c2..de06eb6085e4c300c2196555063ebf92db8d931e 100644 (file)
@@ -1,4 +1,4 @@
 name = 'cors'
 main = 'index.js'
-compatibility_date = '2022-11-03'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'cors.example.com', custom_domain = true }
index 18e859d9f1b94c3a424e991db538da08d7f638aa..0782aa277562e9999358db6040886a27db557d4d 100644 (file)
@@ -1,4 +1,4 @@
 name = 'hash'
 main = 'index.js'
-compatibility_date = '2022-07-10'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'hash.example.com', custom_domain = true }
index 10e17f151faf8fbe76120ac0b8d8596993fe55bc..c16824d8783f9f5b5a499f4ad8d2ebd37525ce26 100644 (file)
@@ -1,4 +1,4 @@
 name = 'instagram'
 main = 'index.js'
-compatibility_date = '2022-07-10'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'instagram.example.com', custom_domain = true }
index 4df949a40505748864338cc408dd3a0c9f68aa9b..69b04ae69e494b8cbccf45cdfa439c29eae17fa2 100644 (file)
@@ -1,4 +1,4 @@
 name = 'ip'
 main = 'index.js'
-compatibility_date = '2022-07-10'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'ip.example.com', custom_domain = true }
index e3cdc647d712c67ea2c45a1a3e560d2fef62e790..c5dea83762cc146495ed88bc21c0535b79e5f8b8 100644 (file)
@@ -1,4 +1,4 @@
 name = 'proxy'
 main = 'index.js'
-compatibility_date = '2022-11-03'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'proxy.example.com', custom_domain = true }
index 0feadea9eefe39ee0ba6356f746d531035fda336..0bedea7ff93e4492c3f077166250071141762804 100644 (file)
@@ -1,4 +1,4 @@
 name = 'pwned'
 main = 'index.js'
-compatibility_date = '2022-07-10'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'pwned.example.com', custom_domain = true }
index ab624479dfb9da6c47b260e90d126fe66998a91e..784cc5f7b0579a41f8f01b032ae1f19cccd67d4c 100644 (file)
@@ -1,4 +1,4 @@
 name = 'qr'
 main = 'index.js'
-compatibility_date = '2022-07-10'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'qr.example.com', custom_domain = true }
index 5a4d56a97073aacdf28c552df39de0fc6fb63f07..d61590b9738c03d999d88cac18f03858c3c609ed 100644 (file)
@@ -1,4 +1,4 @@
 name = 'style'
 main = 'index.js'
-compatibility_date = '2022-11-03'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'style.example.com', custom_domain = true }
index 97917e39afba26db2f97cc4100e06295334237ea..70b708ff61ebf7826b572cd8ad31358eadcf36ac 100644 (file)
@@ -1,4 +1,4 @@
 name = 'unroll'
 main = 'index.js'
-compatibility_date = '2022-07-10'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'unroll.example.com', custom_domain = true }
index a7ef91f17fa2af054b81d600dc002c64a05d84db..251cbb27761bdf2b480f46ad758ca8ff9ccaee33 100644 (file)
@@ -1,4 +1,4 @@
 name = 'uuid'
 main = 'index.js'
-compatibility_date = '2022-07-10'
-route = 'example.com/*'
+compatibility_date = '2023-01-20'
+route = { pattern = 'uuid.example.com', custom_domain = true }
This page took 0.042254 seconds and 4 git commands to generate.