From 470dbe20bf0364678f0e57ad7d0abba544aa8d90 Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Thu, 25 Jul 2024 23:55:54 +0800 Subject: [PATCH] like dj kalid says, and another one --- package.json | 2 +- wrangler.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ae7f40a..a410e54 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "private": true, "scripts": { "deploy": "wrangler deploy", - "dev": "wrangler dev", + "dev": "wrangler dev -e staging", "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' vitest run" }, "type": "module", diff --git a/wrangler.toml b/wrangler.toml index 74b4436..e0c21b5 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -5,3 +5,7 @@ compatibility_date = "2024-02-23" [env.staging] name = "auth-worker-staging" + +[env.staging.vars] +DENTITY_BASE_ENDPOINT = "https://oidc.staging.dentity.com" +APP_REDIRECT = "https://ens.domains"