⚙️ Fix get baseUrl for api.

This commit is contained in:
pheralb
2023-12-16 22:35:25 +00:00
parent 099de90f6d
commit e78b4e0f7f
3 changed files with 23 additions and 29 deletions
-7
View File
@@ -1,7 +0,0 @@
export function getBaseUrl() {
if (import.meta.env.MODE === 'development') {
return '';
} else {
return import.meta.env.PUBLIC_SVGL_BASE_URL;
}
}