Skip to content

Commit 5821bc3

Browse files
committed
Update Check Test Version
1 parent 6fcde45 commit 5821bc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/modules/ShikiUSR.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ export let User = {
125125
},
126126
}
127127

128-
const ips = ["192.168.31.233", "127.0.0.1", "192.168.31.45"]
128+
const ips = ["127.0", "192.168"];
129129

130-
if (ips.findIndex(x => x == location.hostname) != -1) {
130+
if (ips.findIndex(x => location.hostname.startsWith(x)) != -1) {
131131
console.log("[ver] - Test");
132132
User.test_on();
133133
var manifestLink = document.querySelector('head > link[rel="manifest"]');

0 commit comments

Comments
 (0)