From fb9e9918e674c013252ceb6e33d64a891003a327 Mon Sep 17 00:00:00 2001 From: Douglas DUTEIL Date: Fri, 1 Dec 2023 12:01:34 +0100 Subject: [PATCH] fix(front): allow VITE_BASE_URL to be undefined --- front/src/clients/back-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/clients/back-client.ts b/front/src/clients/back-client.ts index 36108b4..100d4c0 100644 --- a/front/src/clients/back-client.ts +++ b/front/src/clients/back-client.ts @@ -1,6 +1,6 @@ import axios from 'axios'; import { OidcClient } from '../types'; -const VITE_BASE_URL = import.meta.env.VITE_BASE_URL; +const VITE_BASE_URL = import.meta.env.VITE_BASE_URL ?? ''; export const backendClient = { getKeys,