Skip to content

Commit

Permalink
fix: gateway car example dnslink
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias authored and lidel committed Feb 8, 2023
1 parent 378aaf7 commit 93dd0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gateway/car/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 93dd0a0

Please sign in to comment.