Skip to content

Commit

Permalink
change base url
Browse files Browse the repository at this point in the history
  • Loading branch information
lesdyman committed Jul 26, 2024
1 parent 4d45f37 commit aef28f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Device } from '../types/Device';
import { FetchOption } from '../types/FetchOption';
import { Product } from '../types/Product';

const BASE_URL = 'http://localhost:5173/api/';
const BASE_URL = 'https://lesdyman.github.io/lets_try/';

export const get = async <T>(url: string): Promise<T> => {
const fullURL = `${BASE_URL + url}.json`;
Expand Down

0 comments on commit aef28f6

Please sign in to comment.