mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
⚙️ Fix get baseUrl for api.
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
export function getBaseUrl() {
|
||||
if (import.meta.env.MODE === 'development') {
|
||||
return '';
|
||||
} else {
|
||||
return import.meta.env.PUBLIC_SVGL_BASE_URL;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user