Remove hardcoded anchor URL fallback
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -588,7 +588,7 @@ export class BrowserAdapter {
|
||||
const cfg = (window as unknown as { WASTE_CONFIG?: { signalURL?: string } })['WASTE_CONFIG']
|
||||
const anchorUrl = cfg?.signalURL
|
||||
|| localStorage.getItem('waste_anchor_url')
|
||||
|| 'wss://waste.dev.xplwd.com/ws'
|
||||
|| ''
|
||||
const isHash = !msg.network_name && !!msg.network_hash
|
||||
const nameOrHash = msg.network_name || msg.network_hash || ''
|
||||
if (nameOrHash) this.joinNetwork(anchorUrl, nameOrHash, isHash)
|
||||
|
||||
Reference in New Issue
Block a user