wykluczenie .env; poprawka http

This commit is contained in:
2023-12-10 14:42:28 +01:00
parent ffed250321
commit 13d3db268e
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import axios from 'axios';
const baseURL = import.meta.env['VITE_API_MODE'] == 'DEV' ? import.meta.env['VITE_API_URL_DEV'] : import.meta.env['VITE_API_URL'];
const baseURL = import.meta.env['VITE_API_MODE'] == 'DEV' ? 'http://localhost:3001' : 'https://stacjownik.spythere.eu';
const client = axios.create({
baseURL: baseURL,