From 93dd0a02a18b961184009477f0824a3bb5b7b7e3 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 7 Feb 2023 16:05:13 +0100 Subject: [PATCH] fix: gateway car example dnslink --- examples/gateway/car/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gateway/car/main.go b/examples/gateway/car/main.go index b0884e1f2..4ba63d253 100644 --- a/examples/gateway/car/main.go +++ b/examples/gateway/car/main.go @@ -39,7 +39,7 @@ func main() { // Host header rewritting. This step is optional and only required if you're // running multiple public gateways and want different settings and support // for DNSLink and Subdomain Gateways. - noDNSLink := true // If you set DNSLink to point at the CID from CAR, you can load it! + noDNSLink := false // If you set DNSLink to point at the CID from CAR, you can load it! publicGateways := map[string]*gateway.Specification{ // Support public requests with Host: CID.ipfs.example.net and ID.ipns.example.net "example.net": {