Skip to content

Commit cf3e85a

Browse files
committed
Add note about plugin-client-redirects to play.html redirect page
1 parent a9b6b08 commit cf3e85a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

static/play.html/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<!DOCTYPE html>
2+
<!-- Not using @docusaurus/plugin-client-redirects, because it doesn't preserve url parameters and fragment -->
23
<html>
34
<head>
4-
<script>
5-
location.href = "/play" + (location.search || "") + (location.hash || "");
6-
</script>
5+
<meta charset="UTF-8" />
76
</head>
7+
<script>
8+
location.href = "/play" + (location.search || "") + (location.hash || "");
9+
</script>
810
</html>

0 commit comments

Comments
 (0)