This commit is contained in:
pascal
2026-03-04 17:30:21 +01:00
parent e14ddaad57
commit e8156ecbb6

View File

@@ -271,6 +271,9 @@ func (s *Server) ListenAndServe(ctx context.Context, addr string) (err error) {
"/": testURL,
},
})
if s.acme != nil {
s.acme.AddDomain(domain.Domain(hostDomain), "test-account", "test-static-file")
}
s.Logger.Info("Added static test mapping: %s/* -> local test file server (bypassing NetBird tunnel)", hostDomain)
select {