We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b36e2 commit b741016Copy full SHA for b741016
1 file changed
examples/gateway/common/handler.go
@@ -17,6 +17,9 @@ func NewHandler(gwAPI gateway.IPFSBackend) http.Handler {
17
// If you set DNSLink to point at the CID from CAR, you can load it!
18
NoDNSLink: false,
19
20
+ // For these examples we have the trusted mode enabled by default. That is,
21
+ // all types of requests will be accepted. By default, only Trustless Gateway
22
+ // requests work: https://specs.ipfs.tech/http-gateways/trustless-gateway/
23
TrustedMode: true,
24
25
// Initialize the public gateways that we will want to have available through
0 commit comments