We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada4de4 commit 81fc2f9Copy full SHA for 81fc2f9
gateway/hostname.go
@@ -83,7 +83,7 @@ func WithHostname(c Config, api IPFSBackend, next http.Handler) http.HandlerFunc
83
if !gw.NoDNSLink && hasDNSLinkRecord(r.Context(), api, host) {
84
// rewrite path and handle as DNSLink
85
r.URL.Path = "/ipns/" + stripPort(host) + r.URL.Path
86
- next.ServeHTTP(w, withSubdomainContext(r, host))
+ next.ServeHTTP(w, withDNSLinkContext(r, host))
87
return
88
}
89
0 commit comments