Skip to content

Commit 3ce0e7f

Browse files
committed
erge branch 'src' of github.com:mims-harvard/CURE-Bench into src
2 parents 6eb73ca + 78ca69c commit 3ce0e7f

File tree

4 files changed

+393
-5
lines changed

4 files changed

+393
-5
lines changed

404.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<script type="text/javascript">
6+
sessionStorage.redirect = location.pathname;
7+
window.location.href = "/";
8+
</script>
9+
</head>
10+
<body></body>
11+
</html>

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<script type="text/javascript">
5+
(function() {
6+
var redirect = sessionStorage.redirect;
7+
delete sessionStorage.redirect;
8+
if (redirect && redirect !== location.pathname) {
9+
history.replaceState(null, null, redirect);
10+
}
11+
})();
12+
</script>
13+
414
<meta charset="UTF-8" />
515
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
616
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Merriweather:wght@400;700&display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)