mirror of https://github.com/keeweb/keeweb.git
copying 404 to dist
This commit is contained in:
parent
6c80d50290
commit
d15366ee24
|
@ -66,6 +66,11 @@ module.exports = function(grunt) {
|
|||
dest: 'dist/index.html',
|
||||
nonull: true
|
||||
},
|
||||
'404-dist': {
|
||||
src: 'app/404.html',
|
||||
dest: 'dist/404.html',
|
||||
nonull: true
|
||||
},
|
||||
favicon: {
|
||||
src: 'app/favicon.png',
|
||||
dest: 'tmp/favicon.png',
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Not Found</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, "BlinkMacSystemFont", "Raleway", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
||||
font-feature-settings: "liga" 0;
|
||||
text-align: center;
|
||||
background: #F5F5F5;
|
||||
font-weight: 300;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3em;
|
||||
margin-top: 10vh;
|
||||
}
|
||||
p {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>404 Not Found</h1>
|
||||
<p>Sorry, the page you're looking for was not found.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -13,6 +13,7 @@ module.exports = function(grunt) {
|
|||
'htmlmin',
|
||||
'csp-hashes',
|
||||
'copy:html-dist',
|
||||
'copy:404-dist',
|
||||
'string-replace:service-worker',
|
||||
'string-replace:manifest',
|
||||
'copy:dist-icons',
|
||||
|
|
Loading…
Reference in New Issue