mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 12:08:15 +00:00
27 lines
947 B
HTML
27 lines
947 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="robots" content="noindex, follow">
|
|
<title>Redirecting...</title>
|
|
<script>
|
|
(function() {
|
|
var savedLang = localStorage.getItem('koala_lang');
|
|
var browserLang = (navigator.language || navigator.userLanguage || '').toLowerCase();
|
|
var isDe = (savedLang === 'de') || (!savedLang && browserLang.indexOf('de') === 0);
|
|
var path = window.location.pathname;
|
|
var hasHtml = path.endsWith('.html');
|
|
if (isDe) {
|
|
window.location.replace(hasHtml ? 'de/impressum.html' : 'de/impressum');
|
|
} else {
|
|
window.location.replace(hasHtml ? 'imprint.html' : 'imprint');
|
|
}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>Redirecting / Weiterleitung...</p>
|
|
</body>
|
|
</html>
|