api
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
* to avoid CORS issues. In production the real URLs are used.
|
* to avoid CORS issues. In production the real URLs are used.
|
||||||
*/
|
*/
|
||||||
export const FASTCHECK_API = isDevMode()
|
export const FASTCHECK_API = isDevMode()
|
||||||
? '/proxy/fastcheck'
|
? '/proxy/fastcheck-store/api'
|
||||||
: 'https://api.fastcheck.store';
|
: 'https://fastcheck.store/api';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base URL for the QR/SBP backend (qr.vitanova.network).
|
* 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';
|
: 'https://qr.vitanova.network/api';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base URL for the public fastcheck.store API (note: different host than
|
* Base URL for the public fastcheck.store API.
|
||||||
* FASTCHECK_API which points at api.fastcheck.store).
|
|
||||||
* Used for /api/fastcheck/settings/{id} and /api/fastcheck/message/{tgId}.
|
* 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()
|
export const FASTCHECK_STORE_API = isDevMode()
|
||||||
? '/proxy/fastcheck-store/api'
|
? '/proxy/fastcheck-store/api'
|
||||||
|
|||||||
Reference in New Issue
Block a user