diff --git a/frontend/src/services/api.ts b/frontend/src/services/api.ts index 72c8d9b..598d962 100644 --- a/frontend/src/services/api.ts +++ b/frontend/src/services/api.ts @@ -1,6 +1,6 @@ import { Product, ProductCreate, Shop, ShopCreate, ShoppingEvent, ShoppingEventCreate, Brand, BrandCreate, Grocery, GroceryCreate, GroceryCategory, GroceryCategoryCreate } from '../types'; -const API_BASE_URL = 'http://localhost:8000'; +const API_BASE_URL = '/api'; const api = { get: (url: string): Promise<{ data: T }> =>