mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-07-13 02:53:45 +00:00
build(*): Attempt to get env vars working
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
export function getEnv() {
|
export function getEnv() {
|
||||||
return {
|
return process.env.hasOwnProperty('MONGO_URL')
|
||||||
MONGO_URL: import.meta.env.VITE_MONGO_URL
|
? process.env
|
||||||
};
|
: {
|
||||||
|
MONGO_URL: import.meta.env.VITE_MONGO_URL
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user