This commit is contained in:
Jhonathan Guevara 2025-12-23 14:01:13 -05:00
parent 0ba872401f
commit bc762c42bb
Signed by: jhonathan_guevara
GPG Key ID: 619239F12DCBE55B

View File

@ -1,13 +0,0 @@
declare global {
interface Window {
__AUNAR_CONFIG__?: {
apiBaseUrl?: string;
};
}
}
const rawBase =
(typeof window !== 'undefined' && window.__AUNAR_CONFIG__?.apiBaseUrl) ||
'/api';
export const API_BASE_URL = rawBase.replace(/\/+$/, '');