Skip to content

Commit

Permalink
web change
Browse files Browse the repository at this point in the history
  • Loading branch information
hekaisheng committed Oct 20, 2021
1 parent ce77c8e commit 80ef5cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mars/services/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<title>Mars UI</title>
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
<script type="text/javascript">
if (!window.location.pathname.endsWith("/")) {
window.location.assign(window.location.origin + window.location.pathname
+ "/" + window.location.hash);
}
</script>
</head>
<body>
<script async src="static/bundle.js"></script>
Expand Down

0 comments on commit 80ef5cd

Please sign in to comment.