server as netlify function
This commit is contained in:
@@ -6,7 +6,7 @@ export const INITIAL_ZOOM = 17;
|
||||
/**
|
||||
* MapTiler style URL for the map
|
||||
*/
|
||||
export const MAP_STYLE = import.meta.env.VITE_MAPTILER_STYLE;
|
||||
export const MAP_STYLE = typeof import.meta !== 'undefined' && import.meta.env?.VITE_MAPTILER_STYLE ? import.meta.env.VITE_MAPTILER_STYLE : '';
|
||||
|
||||
export const STATUSES = {
|
||||
SUCCESS: "success",
|
||||
|
||||
Reference in New Issue
Block a user