8000 [pre-commit.ci] auto fixes from pre-commit.com hooks · pyscript/pyscript@c14b188 · GitHub
[go: up one dir, main page]

Skip to content

Commit c14b188

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5a0066c commit c14b188

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

core/src/zero-redirect.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
try {
2-
crypto.randomUUID();
3-
}
4-
catch (_) { // eslint-disable-line
5-
if (location.href.startsWith('http://0.0.0.0'))
6-
location.href = location.href.replace('0.0.0.0', 'localhost');
7-
}
1+
try {
2+
crypto.randomUUID();
3+
} catch (_) {
4+
// eslint-disable-line
5+
if (location.href.startsWith("http://0.0.0.0"))
6+
location.href = location.href.replace("0.0.0.0", "localhost");
7+
}

0 commit comments

Comments
 (0)
0