diff options
| author | Yuval Adam <_@yuv.al> | 2025-09-24 09:12:44 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2025-09-24 09:12:44 +0200 |
| commit | 4c5be8cf8d942743398581b46ac2c76d0ff273d8 (patch) | |
| tree | b182383a63302f24910c5534953d3624cb24f00d /src/config.ts | |
| parent | 490214f0a9be03130cf535bc5ae0b8aa3c6c16db (diff) | |
Initial migration
Diffstat (limited to 'src/config.ts')
| -rw-r--r-- | src/config.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/config.ts b/src/config.ts new file mode 100644 index 0000000..6d838be --- /dev/null +++ b/src/config.ts @@ -0,0 +1,19 @@ +const hostname = typeof window !== 'undefined' && window.location && window.location.hostname; + +const PRODUCTION = hostname ? hostname.includes("geshem") : false; + +export const IMAGES_BASE_URL = PRODUCTION ? "https://imgs.geshem.space" : ""; + +export const MAPBOX_ACCESS_TOKEN = + "pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpcnMxbzBuaTAwZWdoa25oczlzZmkwbHcifQ.UHtLngbKm9O8945pJm23Nw"; + +export const IMAGE_COORDINATES: [number, number][] = [ + [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 |
