Added basic settings support.

You can edit relays, embed options, and sign out. This moves the signout
button from the nav to the settings area.
This commit is contained in:
Thomas Mathews 2022-12-29 21:56:06 -08:00
parent 9a3361750e
commit e3b31af127
12 changed files with 198 additions and 40 deletions

View file

@ -55,7 +55,7 @@ RelayPool.prototype.remove = function relayPoolRemove(url) {
for (const relay of this.relays) {
if (relay.url === url) {
relay.ws && relay.ws.close()
this.relays = this.replays.splice(i, 1)
this.relays.splice(i, 1)
return true
}