We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bde251b commit 18f5ba3Copy full SHA for 18f5ba3
client/index.html
@@ -2,6 +2,15 @@
2
<html lang="en">
3
4
<head>
5
+ <script>
6
+ (() => {
7
+ const { pathname, search, hash } = window.location;
8
+ if (pathname !== "/" && !pathname.endsWith("/")) {
9
+ const normalized = `${pathname}/`;
10
+ window.history.replaceState(null, "", `${normalized}${search}${hash}`);
11
+ }
12
+ })();
13
+ </script>
14
<meta charset="UTF-8" />
15
<link rel="icon" type="image/icon" href="./scouterna.ico" />
16
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
0 commit comments