Skip to content

Commit 173876e

Browse files
committed
deploy: 0b0b1d9
1 parent 4ad5194 commit 173876e

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
window.routerBase = "/";
1212
</script>
1313
<script>
14-
//! umi version: 3.5.13
14+
//! umi version: 3.5.17
1515
</script>
1616
<script>
1717
!(function () {
@@ -20,7 +20,7 @@
2020
r = ["light", "dark", "auto"];
2121
document.documentElement.setAttribute(
2222
"data-prefers-color",
23-
e === r[2] ? (t ? r[1] : r[0]) : r.includes(e) ? e : r[0]
23+
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
2424
);
2525
})();
2626
</script>

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
window.routerBase = "/";
1212
</script>
1313
<script>
14-
//! umi version: 3.5.13
14+
//! umi version: 3.5.17
1515
</script>
1616
<script>
1717
!(function () {
@@ -20,7 +20,7 @@
2020
r = ["light", "dark", "auto"];
2121
document.documentElement.setAttribute(
2222
"data-prefers-color",
23-
e === r[2] ? (t ? r[1] : r[0]) : r.includes(e) ? e : r[0]
23+
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
2424
);
2525
})();
2626
</script>

0 commit comments

Comments
 (0)