Use underscore for KV namespace

Close #13
This commit is contained in:
Simon Bihel 2022-03-08 10:18:07 +00:00
parent 40eb888e5a
commit 5351d3e49d
No known key found for this signature in database
GPG Key ID: B7013150BEAA28FD
2 changed files with 2 additions and 2 deletions

View File

@ -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";
// /!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\/!\

View File

@ -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]