363c51a
1
2
3
4
export function api(path: string) { return `${import.meta.env.BASE_URL}api/${path.replace(/^\/+/, '')}` }