diff --git a/src/utils/api.ts b/src/utils/api.ts index 337fb35..2ec93fe 100644 --- a/src/utils/api.ts +++ b/src/utils/api.ts @@ -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 (url: string): Promise => { const fullURL = `${BASE_URL + url}.json`;