From 84e8491ccc45ebffdc305cfda982a6e8d1b444ac Mon Sep 17 00:00:00 2001 From: Jeppe Bundgaard Date: Tue, 17 Feb 2026 12:19:14 +0100 Subject: [PATCH] Update `API_URL` for development to use local endpoint --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 4cb5a88b..a8f12b0a 100644 --- a/src/config.js +++ b/src/config.js @@ -2,4 +2,4 @@ export const IS_DEV = import.meta.env.VITE_IS_DEV; // Set to false in production // Development mode export const POS_STEP_1_VERSION = 2; //(IS_DEV ? 2 : 1); -export const API_URL = (IS_DEV ? 'https://api.truckwash.dk:4433' : 'https://api.truckwash.dk'); +export const API_URL = (IS_DEV ? 'http://localhost/api' : 'https://api.truckwash.dk');