diff --git a/main.go b/main.go index a8331d4..9f8c206 100644 --- a/main.go +++ b/main.go @@ -13,12 +13,12 @@ import ( ) var ( - Version string + version string ) func main() { l := gologger.Get(config.GetConfig().LogLevel).With().Caller().Logger() - l.Debug().Msgf("starting well-goknown v%s", Version) + l.Debug().Msgf("starting well-goknown v%s", version) db, _ := db.NewDB() defer db.Close() @@ -28,7 +28,7 @@ func main() { if err := nostr.RelayDb.Init(); err != nil { l.Panic().Msgf("unable to connect to relay db: %s", err.Error()) } - relay := nostr.NewRelay(Version) + relay := nostr.NewRelay(version) // matrix endpoints l.Debug().Msg("enabling matrix well-known endpoints")