From cca9ec7d40bc954a45c4cd24716ce28459c43eae Mon Sep 17 00:00:00 2001 From: thomasgross Date: Fri, 22 Nov 2024 13:21:49 +0100 Subject: [PATCH] fix: typo in the env files --- .env.example | 5 +++-- .env.test | 2 +- lib/config/resolvers/service.unilogin.ts | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 7f41d35e..faf22f79 100644 --- a/.env.example +++ b/.env.example @@ -5,7 +5,8 @@ NEXT_PUBLIC_LIBRARY_TOKEN=XXX UNILOGIN_SESSION_SECRET=XXX UNILOGIN_API_URL=https://et-broker.unilogin.dk -UNILOGIN_WELKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration +UNILOGIN_WELLKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration UNILOGIN_CLIENT_ID=XXX UNILOGIN_CLIENT_SECRET=XXXX -NEXT_PUBLIC_APP_URL=http://localhost:3000 + +NEXT_PUBLIC_APP_URL=https://localhost:3000 diff --git a/.env.test b/.env.test index 0a6ba101..30e04de0 100644 --- a/.env.test +++ b/.env.test @@ -5,7 +5,7 @@ NEXT_PUBLIC_LIBRARY_TOKEN=XXX UNILOGIN_SESSION_SECRET=XXX UNILOGIN_API_URL=https://et-broker.unilogin.dk -UNILOGIN_WELKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration +UNILOGIN_WELLKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration UNILOGIN_CLIENT_ID=XXX UNILOGIN_CLIENT_SECRET=XXXX NEXT_PUBLIC_APP_URL=https://hellboy.the-movie.com diff --git a/lib/config/resolvers/service.unilogin.ts b/lib/config/resolvers/service.unilogin.ts index 4f365a94..26f31019 100644 --- a/lib/config/resolvers/service.unilogin.ts +++ b/lib/config/resolvers/service.unilogin.ts @@ -5,8 +5,8 @@ const serviceUnilogin = { } }, "service.unilogin.wellknown.url": () => { - if (process.env.UNILOGIN_WELKNOWN_URL) { - return process.env.UNILOGIN_WELKNOWN_URL + if (process.env.UNILOGIN_WELLKNOWN_URL) { + return process.env.UNILOGIN_WELLKNOWN_URL } }, "service.unilogin.refresh-token.url": () => {