From 96b793c9a2584c64316aad1a2f7bf5ccbb8de08f Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 2 Jun 2025 14:36:49 +0200 Subject: [PATCH] cleanup: delete urls.js --- config/appVersion.js | 2 +- config/urls.js | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 config/urls.js diff --git a/config/appVersion.js b/config/appVersion.js index a949904d8..2cc2c0306 100644 --- a/config/appVersion.js +++ b/config/appVersion.js @@ -1,2 +1,2 @@ // /config/appVersion -export const APP_VERSION = "1.1.217"; +export const APP_VERSION = "1.1.218"; diff --git a/config/urls.js b/config/urls.js deleted file mode 100644 index bef5e6e39..000000000 --- a/config/urls.js +++ /dev/null @@ -1,15 +0,0 @@ -// /config/urls.js - -// Dynamische Bestimmung der URLs basierend auf window.location.origin ohne Port -let BASE_URL, SERVER_URL; -const basePath = process.env.NEXT_PUBLIC_BASE_PATH; - -if (typeof window !== "undefined") { - const url = new URL(window.location.origin); - const originWithoutPort = `${url.protocol}//${url.hostname}`; // z. B. http://10.10.0.13 - - BASE_URL = `${originWithoutPort}/api`; - SERVER_URL = originWithoutPort; -} - -export { BASE_URL, SERVER_URL };