Skip to content

Commit

Permalink
fix(front): allow VITE_BASE_URL to be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Dec 1, 2023
1 parent 07f2d20 commit fb9e991
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 fb9e991

Please sign in to comment.