wishlist-app/src/config/apiConfig.ts
Benny Samir Hierl 38600ebacb first commit
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
2022-01-29 11:04:24 +01:00

7 lines
128 B
TypeScript

interface apiConfig {
baseURL: string
}
export default <apiConfig>{
baseURL: import.meta.env.VITE_API_BASEURL || '/api',
}