pull/441/head
Lim Chee Aun 2024-03-02 13:53:53 +08:00
rodzic 4d138f5773
commit cef4e6373e
2 zmienionych plików z 33 dodań i 0 usunięć

32
public/404.html 100644
Wyświetl plik

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover"
/>
<title>Page not found</title>
<meta name="color-scheme" content="dark light" />
<style>
body {
text-align: center;
font-family: ui-rounded, -apple-system, BlinkMacSystemFont, Segoe UI,
Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
h1 {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<h1>Page not found</h1>
<p><a href="/">Go home</a></p>
</body>
</html>

Wyświetl plik

@ -37,6 +37,7 @@ const rollbarCode = fs.readFileSync(
export default defineConfig({
base: './',
envPrefix: allowedEnvPrefixes,
appType: 'mpa',
mode: NODE_ENV,
define: {
__BUILD_TIME__: JSON.stringify(now),