backend env url
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Media, Staff, UserSettings, MediaCategory } from './types';
|
||||
|
||||
const BASE_URL = 'http://192.168.1.102:6400';
|
||||
const BASE_URL = import.meta.env.VITE_API_URL;
|
||||
|
||||
function normalizeUrl(url: string | null): string {
|
||||
if (!url) return '';
|
||||
|
||||
Reference in New Issue
Block a user