diff --git a/docs/environment-variables.md b/docs/environment-variables.md index 7f7d0f53bd1..78f3d4d5c84 100644 --- a/docs/environment-variables.md +++ b/docs/environment-variables.md @@ -77,10 +77,11 @@ Defaults: 2048 ## `IPFS_DIST_PATH` -URL from which go-ipfs fetches repo migrations (when the daemon is launched with -the `--migrate` flag). +IPFS Content Path from which go-ipfs fetches repo migrations (when the daemon +is launched with the `--migrate` flag). -Default: https://ipfs.io/ipfs/$something (depends on the IPFS version) +Default: `/ipfs/` (the exact path is hardcoded in +`migrations.CurrentIpfsDist`, depends on the IPFS version) ## `IPFS_NS_MAP` diff --git a/repo/fsrepo/migrations/fetcher.go b/repo/fsrepo/migrations/fetcher.go index e70a9ae11e8..812a8a9295a 100644 --- a/repo/fsrepo/migrations/fetcher.go +++ b/repo/fsrepo/migrations/fetcher.go @@ -10,7 +10,7 @@ import ( const ( // Current dirstibution to fetch migrations from - CurrentIpfsDist = "/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR" + CurrentIpfsDist = "/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR" // fs-repo-migrations v2.0.2 // Latest distribution path. Default for fetchers. LatestIpfsDist = "/ipns/dist.ipfs.io"