Browse Source

Remove unused ACL integration and related configuration logic, bump version to `v0.4.6`.

main
mleku 4 months ago
parent
commit
509aac3819
No known key found for this signature in database
  1. 5
      app/main.go
  2. 2
      pkg/version/version

5
app/main.go

@ -8,7 +8,6 @@ import ( @@ -8,7 +8,6 @@ import (
"lol.mleku.dev/chk"
"lol.mleku.dev/log"
"next.orly.dev/app/config"
acl "next.orly.dev/pkg/acl"
database "next.orly.dev/pkg/database"
"next.orly.dev/pkg/encoders/bech32encoding"
"next.orly.dev/pkg/protocol/publish"
@ -46,10 +45,6 @@ func Run( @@ -46,10 +45,6 @@ func Run(
publishers: publish.New(NewPublisher(ctx)),
Admins: adminKeys,
}
// provide publisher to ACL so background sync can dispatch events
if err := acl.Registry.Configure(cfg, db, ctx, l.publishers); chk.E(err) {
// if configuration fails, proceed but log; ACL might be 'none'
}
addr := fmt.Sprintf("%s:%d", cfg.Listen, cfg.Port)
log.I.F("starting listener on http://%s", addr)
go func() {

2
pkg/version/version

@ -1 +1 @@ @@ -1 +1 @@
v0.4.5
v0.4.6
Loading…
Cancel
Save