Skip to content

Commit dcd2fd4

Browse files
committed
fix: verbessere Zuweisung der URL in der open_browser-Funktion
1 parent c7166e4 commit dcd2fd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/dozzle.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ get_port() {
1616
}
1717

1818
open_browser() {
19-
local url="http://localhost:$(get_port)"
19+
local url
20+
url="http://localhost:$(get_port)"
2021
case "$(uname -s)" in
2122
Darwin) open "$url" ;;
2223
Linux) xdg-open "$url" 2>/dev/null || echo "Open: $url" ;;

0 commit comments

Comments
 (0)