diff --git a/src/app/api.ts b/src/app/api.ts index bd857fd..293a6a3 100644 --- a/src/app/api.ts +++ b/src/app/api.ts @@ -7,8 +7,8 @@ * to avoid CORS issues. In production the real URLs are used. */ export const FASTCHECK_API = isDevMode() - ? '/proxy/fastcheck' - : 'https://api.fastcheck.store'; + ? '/proxy/fastcheck-store/api' + : 'https://fastcheck.store/api'; /** * Base URL for the QR/SBP backend (qr.vitanova.network). @@ -19,9 +19,10 @@ export const QR_VITANOVA_API = isDevMode() : 'https://qr.vitanova.network/api'; /** - * Base URL for the public fastcheck.store API (note: different host than - * FASTCHECK_API which points at api.fastcheck.store). + * Base URL for the public fastcheck.store API. * Used for /api/fastcheck/settings/{id} and /api/fastcheck/message/{tgId}. + * Kept as a separate constant for clarity at call sites; currently identical + * to FASTCHECK_API. */ export const FASTCHECK_STORE_API = isDevMode() ? '/proxy/fastcheck-store/api'