mleku / realy

nostr relay built from heavily forked go-nostr and relayer with simple access control and storage modularity
https://realy.lol
The Unlicense
8 stars 1 forks source link

Use Configured Relay Name in App Implementation #2

Closed buttercat1791 closed 1 week ago

buttercat1791 commented 1 week ago

The application config allows the user to set the name of the application.

Currently, this configured app name is not respected in cmd/realy/app/implementation.go. Instead, the Name() function in that file returns the hard-coded string "REALY".

Recommendation: Return the configured app name from the Name() function in cmd/realy/app/implementation.go.