generated from sebastiantegel/vue-webshop-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
843d4ff
commit 194100a
Showing
1 changed file
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>404 Not Found</title> | ||
<script type="text/javascript"> | ||
// Redirect to the correct route | ||
(function () { | ||
var currentUrl = window.location.href; | ||
var baseUrl = currentUrl.split('/404.html')[0]; | ||
var newUrl = baseUrl + '/#' + window.location.pathname + window.location.search; | ||
window.location.replace(newUrl); | ||
})(); | ||
</script> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400..900;1,100..900&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<title>Matthias Webshop</title> | ||
</head> | ||
<body> | ||
<h1>404 Not Found</h1> | ||
<p>Redirecting...</p> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |