feat: WEB-210 Removed secret from ex env and reverted server.ts

This commit is contained in:
Hrishikesh Vaipurkar
2024-06-28 11:04:54 +02:00
parent c018dc8ce0
commit 85f5a524d9
2 changed files with 3 additions and 4 deletions

View File

@@ -31,8 +31,8 @@ SEAMLESS_LOGOUT_FI="http://www.example.fi/updatelogout?newweb=1"
SEAMLESS_LOGOUT_NO="http://www.example.no/updatelogout?newweb=1"
SEAMLESS_LOGOUT_SV="http://www.example.sv/updatelogout?newweb=1"
WEBVIEW_ENCRYPTION_KEY="MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI="
BOOKING_ENCRYPTION_KEY=za2paS0x
NODE_OPTIONS=--openssl-legacy-provider
BOOKING_ENCRYPTION_KEY=""
NODE_OPTIONS="--openssl-legacy-provider"
PUBLIC_URL="http://localhost:3000"
AUTH_URL="$PUBLIC_URL/api/web/auth"

3
env/server.ts vendored
View File

@@ -86,8 +86,7 @@ export const env = createEnv({
AUTH_URL: process.env.AUTH_URL,
NODE_ENV: process.env.NODE_ENV,
PRINT_QUERY: process.env.PRINT_QUERY,
PUBLIC_URL:
"https://feat-web-210-url-encryption-booking-refid--web-scandic-hotels.netlify.app/",
PUBLIC_URL: process.env.PUBLIC_URL,
REVALIDATE_SECRET: process.env.REVALIDATE_SECRET,
SEAMLESS_LOGIN_DA: process.env.SEAMLESS_LOGIN_DA,
SEAMLESS_LOGIN_DE: process.env.SEAMLESS_LOGIN_DE,