Skip to content

Commit e6a6293

Browse files
committed
Last minute fixes for 1.2.15
1 parent bbfd8a1 commit e6a6293

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const quit = function(event) {
150150
function getIPs() {
151151
const hostname = os.hostname();
152152
let non_lan = ["127.0.0.1", "::1"];
153-
if (process.platform === "darwin") {
153+
if (hostname && process.platform === "darwin") {
154154
non_lan.push(hostname);
155155
}
156156
const ifaces = os.networkInterfaces();
@@ -162,7 +162,7 @@ function getIPs() {
162162
}
163163
}
164164
}
165-
if (process.platform === "darwin" || process.platform === "win32") {
165+
if (hostname && (process.platform === "darwin" || process.platform === "win32")) {
166166
ips.push([hostname, "ipv4", non_lan.includes(hostname) ? false : true]);
167167
}
168168
return ips;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ body {
917917
.status_box > div:nth-child(2) {
918918
user-select: text;
919919
white-space: pre-wrap;
920+
word-break: break-word;
920921
}
921922

922923
.status_box > div:nth-child(2) > a {

0 commit comments

Comments
 (0)