We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0fe40a commit e4b9e5eCopy full SHA for e4b9e5e
ipfsspec/async_ipfs.py
@@ -220,6 +220,7 @@ def get_gateway(protocol="ipfs"):
220
221
if system == "Windows":
222
candidates = [
223
+ Path.home() / ".ipfs" / "gateway", # on windows, the HOME environment variable may not exist
224
Path(os.environ.get("LOCALAPPDATA")) / "ipfs" / "gateway",
225
Path(os.environ.get("APPDATA")) / "ipfs" / "gateway",
226
Path(os.environ.get("PROGRAMDATA")) / "ipfs" / "gateway",
0 commit comments