mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 15:13:30 +00:00
6 lines
149 B
TypeScript
6 lines
149 B
TypeScript
const getApiBaseUrl = () => {
|
|
return import.meta.env.API_BASE_URL?.replace(/\/$/, '') || 'http://127.0.0.1:5001'
|
|
}
|
|
|
|
export default getApiBaseUrl
|