From 5351d3e49d4cb12dfe98512a4e9682f8343b99c9 Mon Sep 17 00:00:00 2001 From: Simon Bihel Date: Tue, 8 Mar 2022 10:18:07 +0000 Subject: [PATCH] Use underscore for KV namespace Close #13 --- src/db/cf.rs | 2 +- wrangler_example.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/cf.rs b/src/db/cf.rs index a8718e8..8e07f3b 100644 --- a/src/db/cf.rs +++ b/src/db/cf.rs @@ -7,7 +7,7 @@ use worker::*; use super::*; -const KV_NAMESPACE: &str = "SIWE-OIDC"; +const KV_NAMESPACE: &str = "SIWE_OIDC"; const DO_NAMESPACE: &str = "SIWE-OIDC-CODES"; // /!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\ diff --git a/wrangler_example.toml b/wrangler_example.toml index d4be4ca..284a9d5 100644 --- a/wrangler_example.toml +++ b/wrangler_example.toml @@ -6,7 +6,7 @@ workers_dev = false compatibility_date = "2021-12-20" kv_namespaces = [ - { binding = "SIWE-OIDC", id = "", preview_id = "" } + { binding = "SIWE_OIDC", id = "", preview_id = "" } ] [vars]