From 1c268c263d7cfe73352bc21c696e5d7fec1ce023 Mon Sep 17 00:00:00 2001 From: mayonnaise <90057279+Mayanzev@users.noreply.github.com> Date: Wed, 29 May 2024 14:19:29 +0300 Subject: [PATCH] final --- src/services/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/api.ts b/src/services/api.ts index d179801..35f6851 100644 --- a/src/services/api.ts +++ b/src/services/api.ts @@ -16,7 +16,7 @@ const StatusCodeMapping: Record = { const shouldDisplayError = (response: AxiosResponse) => !!StatusCodeMapping[response.status]; -const BACKEND_URL = 'https://14.design.htmlacademy.pro/six-citie'; +const BACKEND_URL = 'https://14.design.htmlacademy.pro/six-cities'; const REQUEST_TIMEOUT = 5000; export const createAPI = (): AxiosInstance => {