Add coursedisplay.html for redirect for smooth transition

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-16 20:42:21 -05:00 committed by powe97
parent 9d1e2ee858
commit 47b0ebbe1a

18
coursedisplay.html Normal file
View file

@ -0,0 +1,18 @@
<html>
<head>
<script>
const params = window
.location
.search
.slice(1)
.split("&")
.map(p => p.split("="))
.reduce((obj,[key,value]) =>
({ ...obj, [key]: decodeURIComponent(value) }),
{}
);
window.location.replace("courses/"+(params["course"]));
</script>
</head>
</html>