Skip to content

Commit 1f8d402

Browse files
committed
improved redirect
1 parent 6a9b644 commit 1f8d402

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<meta http-equiv="refresh" content="0; url=https://darin755.github.io/browser-linux/src/" />
1+
<!-- Redirect to src folder -->
2+
<script>
3+
//this just appends src to the current url while keeping the parameters after the ?
4+
window.location.href = window.location.origin + window.location.pathname + "/src" + document.location.search;
5+
</script>

0 commit comments

Comments
 (0)