From 27ff4d81815774524bef9f1f4084b6fa4b977f07 Mon Sep 17 00:00:00 2001 From: Omer Sabic Date: Wed, 29 May 2024 20:06:02 +0200 Subject: [PATCH] fix config --- src/lib/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/config.js b/src/lib/config.js index ffb7905..07bc8ef 100644 --- a/src/lib/config.js +++ b/src/lib/config.js @@ -1,7 +1,7 @@ -import { PUBLIC_API_URL, PUBLIC_FRONTEND_URL, PUBLIC_SITES_URL } from '$env/static/public'; +import * as env from '$env/static/public'; export const config = { - api_url: PUBLIC_API_URL, - frontend_url: PUBLIC_FRONTEND_URL, - sites_url: PUBLIC_SITES_URL + api_url: env.PUBLIC_API_URL || "", + frontend_url: env.PUBLIC_FRONTEND_URL || "", + sites_url: env.PUBLIC_SITES_URL || "" } \ No newline at end of file