We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0fe40a + e4b9e5e commit 350c565Copy full SHA for 350c565
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