Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayanzev committed May 29, 2024
1 parent 12af5d8 commit 1c268c2
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 1c268c2

Please sign in to comment.