issues/27: prod baseline without task branch

This commit is contained in:
Valery Petrov
2026-05-29 09:57:08 +03:00
parent 6944630c2e
commit e1d9234475
17 changed files with 9 additions and 1150 deletions
-10
View File
@@ -1,10 +0,0 @@
export const API_BASE_URL =
(typeof window !== 'undefined' && window.__ENV__?.API_BASE_URL) ||
import.meta.env.VITE_API_BASE_URL ||
'https://api.sovamed.ru'
export const apiUrl = (path) => {
const base = API_BASE_URL.replace(/\/$/, '')
const suffix = path.startsWith('/') ? path : `/${path}`
return `${base}${suffix}`
}