Files
KisStock/services/config.ts

9 lines
218 B
TypeScript

export const API_BASE_URL = "http://localhost:8000/api";
export const getHeaders = () => {
return {
"Content-Type": "application/json",
// "Authorization": "Bearer ..." // If we implement Auth later
};
};