chore: initial import for test contour

This commit is contained in:
sova-bootstrap
2026-05-27 19:36:33 +03:00
commit ffd4cf9031
105 changed files with 10772 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
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}`
}