fix: hash router backwards compatibility
All checks were successful
Release to Staging / build_and_release (push) Successful in 43s

This commit is contained in:
enes 2024-10-24 13:14:42 +02:00
parent 84cb5b6912
commit 8ee6f98654

View File

@ -10,6 +10,16 @@
<title>DEG Mods - Liberating Game Mods</title>
<!-- Start Hash Router Backwards Compatibility -->
<script type="text/javascript">
;(function (l) {
if (l.hash.startsWith('#/')) {
l.href = l.href.replace('#/', '')
}
})(window.location)
</script>
<!-- End Hash Router Backwards Compatibility -->
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages