We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b49b42 commit 58d56f8Copy full SHA for 58d56f8
apps/supervisor/src/util.ts
@@ -3,8 +3,8 @@ import { isMacOS, isWindows } from "std-env";
3
export function normalizeDockerHostUrl(url: string) {
4
const $url = new URL(url);
5
6
- if ($url.host === "localhost") {
7
- $url.host = getDockerHostDomain();
+ if ($url.hostname === "localhost") {
+ $url.hostname = getDockerHostDomain();
8
}
9
10
return $url.toString();
0 commit comments