diff --git a/docs/ANALYSE.md b/docs/ANALYSE.md index d222d77..7938b03 100644 --- a/docs/ANALYSE.md +++ b/docs/ANALYSE.md @@ -34,3 +34,4 @@ Client front (Vite) intégrant un package WASM pré‑construit `pkg/` et Nginx + diff --git a/nginx.dev.conf b/nginx.dev.conf index c125de3..802fef5 100644 --- a/nginx.dev.conf +++ b/nginx.dev.conf @@ -12,7 +12,7 @@ server { } location /ws/ { - proxy_pass http://localhost:8090; + proxy_pass http://dev4.4nkweb.com:8090; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; @@ -45,4 +45,4 @@ server { add_header Access-Control-Allow-Methods "GET, POST, OPTIONS, PUT, DELETE" always; add_header Access-Control-Allow-Headers "Authorization,Content-Type,Accept,X-Requested-With" always; } -} \ No newline at end of file +} \ No newline at end of file diff --git a/public/authorized-client.html b/public/authorized-client.html index 4f0e69e..321b958 100644 --- a/public/authorized-client.html +++ b/public/authorized-client.html @@ -106,3 +106,4 @@ + diff --git a/src/services/service.ts b/src/services/service.ts index f5d1f15..ed23eff 100755 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -12,7 +12,7 @@ export const U32_MAX = 4294967295; const ORIGIN = typeof window !== 'undefined' ? window.location.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 BLINDBITURL = import.meta.env.VITE_BLINDBITURL || `${BASEURL}`; const DEFAULTAMOUNT = 1000n;