diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.js b/src/config.js index 83f0192..bf8a508 100644 --- a/src/config.js +++ b/src/config.js @@ -1,4 +1,6 @@ -const IMAGES_BASE_URL = 'https://imgs.geshem.space' +const DEVELOPMENT = process.env.NODE_ENV === "development"; + +const IMAGES_BASE_URL = DEVELOPMENT ? '' : 'https://imgs.geshem.space'; const MAPBOX_ACCESS_TOKEN = 'pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpcnMxbzBuaTAwZWdoa25oczlzZmkwbHcifQ.UHtLngbKm9O8945pJm23Nw'; |
