fix localhost
This commit is contained in:
parent
81575e401d
commit
a97554bf32
@ -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: <T>(url: string): Promise<{ data: T }> =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user