Browse Source

Fix standalone mode detection for port 7777 (v0.52.6)

- Add port 7777 to list of known relay ports in config.js
- Prevents false-positive standalone mode detection

Files modified:
- app/web/src/config.js: Add 7777 to relay port list
- pkg/version/version: Bump to v0.52.6

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
main v0.52.6
woikos 4 months ago
parent
commit
1297a45ee3
No known key found for this signature in database
  1. 2
      app/web/dist/bundle.js
  2. 2
      app/web/dist/bundle.js.map
  3. 2
      app/web/src/config.js
  4. 2
      pkg/version/version

2
app/web/dist/bundle.js vendored

File diff suppressed because one or more lines are too long

2
app/web/dist/bundle.js.map vendored

File diff suppressed because one or more lines are too long

2
app/web/src/config.js

@ -26,7 +26,7 @@ export function initConfig() { @@ -26,7 +26,7 @@ export function initConfig() {
// 4. Not running on a typical relay port (3334) - likely a static server
const hasStoredRelay = !!localStorage.getItem("relayUrl");
const isFileProtocol = window.location.protocol === 'file:';
const isNonRelayPort = !['3334', '443', '80', ''].includes(window.location.port);
const isNonRelayPort = !['3334', '7777', '443', '80', ''].includes(window.location.port);
const standalone = BUILD_STANDALONE_MODE || hasStoredRelay || isFileProtocol || isNonRelayPort;
isStandaloneMode.set(standalone);

2
pkg/version/version

@ -1 +1 @@ @@ -1 +1 @@
v0.52.5
v0.52.6

Loading…
Cancel
Save