Skip to content

Commit

Permalink
Merge pull request #16 from Mayanzev/master
Browse files Browse the repository at this point in the history
  • Loading branch information
keksobot authored May 29, 2024
2 parents 7779ffd + b182a8d commit 1e944a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const StatusCodeMapping: Record<number, boolean> = {

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

0 comments on commit 1e944a1

Please sign in to comment.