From 864e77c09576585da4a5ba321298d2c364cb5498 Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Wed, 7 May 2025 18:17:00 +0200 Subject: [PATCH] fix: fix prod api url --- frontend/src/environments/environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/environments/environment.ts b/frontend/src/environments/environment.ts index 40a2f24..cf17003 100644 --- a/frontend/src/environments/environment.ts +++ b/frontend/src/environments/environment.ts @@ -1,5 +1,5 @@ export const environment = { STRIPE_KEY: 'pk_test_51QrePYIvCfqz7ANgMizBorPpVjJ8S6gcaL4yvcMQnVaKyReqcQ6jqaQEF7aDZbDu8rNVsTZrw8ABek4ToxQX7KZe00jpGh8naG', - apiUrl: 'http://localhost:4200/backend', + apiUrl: window.location.origin+'/backend', };