From 1141d1b1630e7e30000e5f7ff15bc040d4cd5d5c Mon Sep 17 00:00:00 2001 From: Olesya Aldoshyna Date: Sun, 12 Nov 2023 23:04:46 +0200 Subject: [PATCH] fixed trubble with protokol https --- src/utils/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/backend.js b/src/utils/backend.js index c45a0f4..92f434c 100644 --- a/src/utils/backend.js +++ b/src/utils/backend.js @@ -1,6 +1,6 @@ import axios from "axios"; -const BASE_URL = "http://64243f43d6152a4d480a4f40.mockapi.io"; +const BASE_URL = "https://64243f43d6152a4d480a4f40.mockapi.io"; export const getUsers = async (page) => { const response = await axios.get(`${BASE_URL}/users?page=${page}&limit=3`);