Skip to content

Commit

Permalink
fix(front): allow VITE_BASE_URL to be undefined (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil authored Dec 1, 2023
1 parent 9e1272c commit 88f740f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/clients/back-client.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 88f740f

Please sign in to comment.