- Improved development environment
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const rawCamBase = import.meta.env.VITE_AGX_BOX_URL;
|
||||
export const CAM_BASE = rawCamBase ? rawCamBase : window.location.origin;
|
||||
const environment = import.meta.env.MODE;
|
||||
|
||||
export const OUTSIDE_CAM_BASE = import.meta.env.VITE_OUTSIDE_BASEURL;
|
||||
export const CAM_BASE =
|
||||
environment === "development" ? rawCamBase : window.location.origin;
|
||||
|
||||
Reference in New Issue
Block a user