From 3514f411aa823910d79693f364b1c81d626306c7 Mon Sep 17 00:00:00 2001 From: gman Date: Mon, 6 Nov 2023 15:47:49 +0300 Subject: [PATCH] http to https --- src/App.tsx | 2 +- src/KartaPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 3ba6445..67be49d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -27,7 +27,7 @@ const router = createBrowserRouter([ element:
, loader: async ({ params }) => { return fetch( - `http://strapi.litmusmap.ru/api/articles?populate=*&filters[id][$eq]=${params.id}` + `https://strapi.litmusmap.ru/api/articles?populate=*&filters[id][$eq]=${params.id}` ); }, }, diff --git a/src/KartaPage.tsx b/src/KartaPage.tsx index dd22c00..cab1dc5 100644 --- a/src/KartaPage.tsx +++ b/src/KartaPage.tsx @@ -28,7 +28,7 @@ export function KartaPage() { const [selected, setSelected] = useState(-1); const [cursor, setCursor] = useState("grab"); - const host = "http://strapi.litmusmap.ru"; + const host = "https://strapi.litmusmap.ru"; // Load icons const handleMapLoad = (e) => {