Fully replace gulp with vite

This commit is contained in:
Johannes Zellner
2024-10-04 17:43:45 +02:00
parent 1b00e0f254
commit 2300e1baee
84 changed files with 2182 additions and 22704 deletions

View File

@@ -0,0 +1,16 @@
<script>
var tmp = window.location.hash.slice(1).split('&');
tmp.forEach(function (pair) {
if (pair.indexOf('access_token=') === 0) localStorage.token = pair.split('=')[1];
});
var redirectTo = '/';
if (localStorage.getItem('redirectToHash')) {
redirectTo += localStorage.getItem('redirectToHash');
localStorage.removeItem('redirectToHash');
}
window.location.href = redirectTo;
</script>