From 7700f4600cc481e9417cfb60a7d98718a9b56319 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Tue, 13 Sep 2022 09:17:46 +0200 Subject: [PATCH] fix: edge gateway package denylist binding for cron (#61) --- packages/edge-gateway/wrangler.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/edge-gateway/wrangler.toml b/packages/edge-gateway/wrangler.toml index 166ddd3..a59c9ca 100644 --- a/packages/edge-gateway/wrangler.toml +++ b/packages/edge-gateway/wrangler.toml @@ -29,6 +29,9 @@ routes = [ { pattern = "*.ipns.dag.haus/*", zone_id = "f2f8a5b1c557202c6e3d0ce0e98e4c8e" }, { pattern = "*.ipns.dag.haus", zone_id = "f2f8a5b1c557202c6e3d0ce0e98e4c8e" } ] +kv_namespaces = [ + { binding = "DENYLIST", id = "785cf627e913468ca5319523ae929def" } +] [env.production.vars] IPFS_GATEWAYS = "[\"https://ipfs.io\", \"https://cf.dag.haus\"]" @@ -77,6 +80,9 @@ routes = [ { pattern = "*.ipns-staging.dag.haus/*", zone_id = "f2f8a5b1c557202c6e3d0ce0e98e4c8e" }, { pattern = "*.ipns-staging.dag.haus", zone_id = "f2f8a5b1c557202c6e3d0ce0e98e4c8e" } ] +kv_namespaces = [ + { binding = "DENYLIST", id = "f4eb0eca32e14e28b643604a82e00cb3" } +] [env.staging.vars] IPFS_GATEWAYS = "[\"https://ipfs.io\", \"https://cf.dag.haus\", \"https://pinata.dag.haus\"]"