fix: correction de l'URL WebSocket pour utiliser WSS (WebSocket Secure) au lieu de WS pour la compatibilité HTTPS
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
This commit is contained in:
parent
333101b3f4
commit
0b57f6c79c
@ -12,7 +12,7 @@ export const U32_MAX = 4294967295;
|
|||||||
|
|
||||||
const ORIGIN = typeof window !== 'undefined' ? window.location.origin : '';
|
const ORIGIN = typeof window !== 'undefined' ? window.location.origin : '';
|
||||||
const BASEURL = import.meta.env.VITE_BASEURL || ORIGIN;
|
const BASEURL = import.meta.env.VITE_BASEURL || ORIGIN;
|
||||||
const BOOTSTRAPURL = [import.meta.env.VITE_BOOTSTRAPURL || `ws://${BASEURL}/ws/`];
|
const BOOTSTRAPURL = [import.meta.env.VITE_BOOTSTRAPURL || `wss://${BASEURL}/ws/`];
|
||||||
const STORAGEURL = import.meta.env.VITE_STORAGEURL || `${BASEURL}`;
|
const STORAGEURL = import.meta.env.VITE_STORAGEURL || `${BASEURL}`;
|
||||||
const BLINDBITURL = import.meta.env.VITE_BLINDBITURL || `${BASEURL}`;
|
const BLINDBITURL = import.meta.env.VITE_BLINDBITURL || `${BASEURL}`;
|
||||||
const DEFAULTAMOUNT = 1000n;
|
const DEFAULTAMOUNT = 1000n;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user