From fa52ed00e8ef3303f14d7c953f1591eb19042635 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sun, 17 May 2026 17:54:04 +0700 Subject: feat: use self-hosted pmtiles for map feat: migrate static to gcore cdn fix: change text color on map tooltips depending on scheme --- config/config.local.yaml | 7 +++++-- config/config.prod.yaml | 7 +++++-- config/config.stage.yaml | 8 ++++++-- 3 files changed, 16 insertions(+), 6 deletions(-) (limited to 'config') diff --git a/config/config.local.yaml b/config/config.local.yaml index d3e2e33..80eb8f7 100644 --- a/config/config.local.yaml +++ b/config/config.local.yaml @@ -70,9 +70,12 @@ photoStorage: thumbnail320p: baseUrl: https://storage.yandexcloud.kz/sayauz-thumbnails-webp320/%s.webp homePageGifs: - baseUrl: https://storage.yandexcloud.kz/sayauz-static/home-page-gifs/otter-%s.gif + baseUrl: https://cdn.saya.uz/static/home-page-gifs/otter-%s.gif indexes: ["1", "2", "3"] staticStorage: - baseUrl: https://storage.yandexcloud.kz/sayauz-static + baseUrl: https://cdn.saya.uz/static +mapStorage: + baseUrl: https://cdn.saya.uz/map allowOrigins: - https://storage.yandexcloud.kz + - https://cdn.saya.uz diff --git a/config/config.prod.yaml b/config/config.prod.yaml index e5785f8..ad4864a 100644 --- a/config/config.prod.yaml +++ b/config/config.prod.yaml @@ -73,9 +73,12 @@ photoStorage: thumbnail320p: baseUrl: https://storage.yandexcloud.kz/sayauz-thumbnails-webp320/%s.webp homePageGifs: - baseUrl: https://storage.yandexcloud.kz/sayauz-static/home-page-gifs/otter-%s.gif + baseUrl: https://cdn.saya.uz/static/home-page-gifs/otter-%s.gif indexes: ["1", "2", "3"] staticStorage: - baseUrl: https://storage.yandexcloud.kz/sayauz-static + baseUrl: https://cdn.saya.uz/static +mapStorage: + baseUrl: https://cdn.saya.uz/map allowOrigins: - https://storage.yandexcloud.kz + - https://cdn.saya.uz diff --git a/config/config.stage.yaml b/config/config.stage.yaml index c2e337b..4b46c6c 100644 --- a/config/config.stage.yaml +++ b/config/config.stage.yaml @@ -70,9 +70,13 @@ photoStorage: thumbnail320p: baseUrl: https://storage.yandexcloud.kz/sayauz-thumbnails-webp320/%s.webp homePageGifs: - baseUrl: https://storage.yandexcloud.kz/sayauz-static/home-page-gifs/otter-%s.gif + baseUrl: https://cdn.saya.uz/static/home-page-gifs/otter-%s.gif indexes: ["1", "2", "3"] staticStorage: - baseUrl: https://storage.yandexcloud.kz/sayauz-static + baseUrl: https://cdn.saya.uz/static +mapStorage: + baseUrl: https://cdn.saya.uz/map allowOrigins: - https://storage.yandexcloud.kz + - https://cdn.saya.uz + -- cgit v1.3.1+13