This commit is contained in:
sdarbinyan
2026-05-14 14:17:10 +04:00
parent b6df88d266
commit 3a2e1bf65d

View File

@@ -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'