From 3a2e1bf65d20ed833de142e0eff7fa3e62b4876c Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Thu, 14 May 2026 14:17:10 +0400 Subject: [PATCH] api --- src/app/api.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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'