Skip to content

Commit

Permalink
feat!: server also uses delegated-ipfs.dev as default
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Mar 6, 2024
1 parent bc1df9d commit e08959f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ Default: `true`

Comma-separated list of other Delegated Routing V1 endpoints to proxy provider requests to.

Default: `https://cid.contact`
Default: `https://cid.contact,https://delegated-ipfs.dev`

### `SOMEGUY_PEER_ENDPOINTS`

Comma-separated list of other Delegated Routing V1 endpoints to proxy peer requests to.

Default: none
Default: `https://delegated-ipfs.dev`

### `SOMEGUY_IPNS_ENDPOINTS`

Comma-separated list of other Delegated Routing V1 endpoints to proxy IPNS requests to.

Default: none
Default: `https://delegated-ipfs.dev`

## Logging

Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ func main() {
},
&cli.StringSliceFlag{
Name: "provider-endpoints",
Value: cli.NewStringSlice(cidContactEndpoint),
Value: cli.NewStringSlice(cidContactEndpoint, delegatedIpfsEndpoint),
EnvVars: []string{"SOMEGUY_PROVIDER_ENDPOINTS"},
Usage: "other Delegated Routing V1 endpoints to proxy provider requests to",
},
&cli.StringSliceFlag{
Name: "peer-endpoints",
Value: cli.NewStringSlice(),
Value: cli.NewStringSlice(delegatedIpfsEndpoint),
EnvVars: []string{"SOMEGUY_PEER_ENDPOINTS"},
Usage: "other Delegated Routing V1 endpoints to proxy peer requests to",
},
&cli.StringSliceFlag{
Name: "ipns-endpoints",
Value: cli.NewStringSlice(),
Value: cli.NewStringSlice(delegatedIpfsEndpoint),
EnvVars: []string{"SOMEGUY_IPNS_ENDPOINTS"},
Usage: "other Delegated Routing V1 endpoints to proxy IPNS requests to",
},
Expand Down

0 comments on commit e08959f

Please sign in to comment.