Skip to content

Commit d1254c7

Browse files
Try alternative for docs.html compatibility
1 parent 64c6ee2 commit d1254c7

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
---
2-
// We do this manually so that we can preserve: docs.html?isNew
3-
// Not a real redirect, but it doesn't really matter
4-
---
5-
61
<script>
2+
// We do this manually so that we can preserve: docs.html?isNew
3+
// Not a real redirect, but it doesn't really matter
74
const url = new URL('syntaxes', window.location.origin);
85
url.search = window.location.search;
96
window.location.replace(url.toString());

0 commit comments

Comments
 (0)