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 => {