fix: correction de la configuration WebSocket pour utiliser VITE_BOOTSTRAPURL au lieu de window.location.origin
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 51s
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 51s
This commit is contained in:
parent
537e627ebc
commit
a302149ea8
@ -34,3 +34,4 @@ Client front (Vite) intégrant un package WASM pré‑construit `pkg/` et Nginx
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://localhost:8090;
|
proxy_pass http://dev4.4nkweb.com:8090;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
|
@ -106,3 +106,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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 || `${BASEURL}`];
|
const BOOTSTRAPURL = [import.meta.env.VITE_BOOTSTRAPURL || `ws://${BASEURL}:8090/`];
|
||||||
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