mirror of
https://github.com/quatalog/site.git
synced 2024-12-27 07:27:23 +00:00
19 lines
334 B
HTML
19 lines
334 B
HTML
|
<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>
|