fix: force UI to use IPv4 (127.0.0.1) for API endpoints

Previously, the API endpoint was defined using `localhost`, which could resolve to the IPv6 address `::1`.
This caused issues because the Portmaster core service is listening on `127.0.0.1:817` and only fast-tracking connections to that specific IPv4 address.
This commit is contained in:
Alexandr Stelnykovych
2025-05-16 10:56:30 +03:00
parent b2e47e40ff
commit 5bc1e779b2
5 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
],
"remote": {
"urls": [
"http://localhost:817"
"http://127.0.0.1:817"
]
},
"permissions": [