HORNET-Storage / HORNETS-Nostr-Relay

All-In-One Nostr Relay with Customizable Dashboard Panel🌐 Host Files as Blossom Blobs or Merkle Trees🌿
https://HORNET.Storage
MIT License
33 stars 8 forks source link

Viper config updates #29

Open f7f376a1fcd0d0e11a10ed1b6577c9 opened 1 month ago

f7f376a1fcd0d0e11a10ed1b6577c9 commented 1 month ago

Right now the panel updates the viper config but instead of using the viper functions to safely write to the config we are forcefully updating the config outside of viper. This really needs to change so everything is properly going through viper as that's why it was implemented in the first place.

Maphikza commented 1 month ago

I have handled this in this commit https://github.com/HORNET-Storage/HORNETS-Nostr-Relay/pull/34/commits/9e116e6f7a4a3a28b21c473b7f41b3e331e3144a just let me know if this is what you had in mind.