diff options
| author | Yuval Adam <_@yuv.al> | 2022-11-29 09:19:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-29 09:19:07 +0200 |
| commit | 50d9d173d1c2cf22efb960fd122ca64201f34bf5 (patch) | |
| tree | 8e54dc74a491c564575a47f85f79ae1d41c03059 /src/config.tsx | |
| parent | 3c0fce7319f4e4ae076527eb98e6164210bdb34c (diff) | |
| parent | 8507df99e5a3a77fa2a2f1c716e2eefeee92f11b (diff) | |
Merge pull request #30 from yuvadm/v6v6.0.0
Major v6 upgrade
Diffstat (limited to 'src/config.tsx')
| -rw-r--r-- | src/config.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/config.tsx b/src/config.tsx new file mode 100644 index 0000000..4ca4578 --- /dev/null +++ b/src/config.tsx @@ -0,0 +1,19 @@ +const hostname = window && window.location && window.location.hostname; + +const PRODUCTION = hostname.includes("geshem"); + +export const IMAGES_BASE_URL = PRODUCTION ? "https://imgs.geshem.space" : ""; + +export const MAPBOX_ACCESS_TOKEN = + "pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpcnMxbzBuaTAwZWdoa25oczlzZmkwbHcifQ.UHtLngbKm9O8945pJm23Nw"; + +export const IMAGE_COORDINATES = [ + [31.7503896894, 34.4878044232], + [37.8574239563, 34.5078463729], + [37.7157066403, 29.4538271687], + [31.9347389087, 29.4373462909] +]; + +export const PLAYBACK_HOURS = 2; + +export const PLAYBACK_SLOTS = (PLAYBACK_HOURS * 6) - 1;
\ No newline at end of file |
