test(lib): fix tests for double slash fix

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-09-27 17:37:17 +00:00
parent bb8baef871
commit a62bcb5e61
2 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ func New(opts Options) (*Server, error) {
opts.ED25519PrivateKey = priv
}
anubis.BasePrefix = opts.BasePrefix
anubis.BasePrefix = strings.TrimRight(opts.BasePrefix, "/")
anubis.PublicUrl = opts.PublicUrl
result := &Server{