Skip to content

Commit

Permalink
Attempt #6
Browse files Browse the repository at this point in the history
  • Loading branch information
macareonie committed Jun 27, 2024
1 parent 56e3680 commit 856cb19
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "personal-website",
"name": "me",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
15 changes: 15 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=/" />
<script>
window.location.href = "/";
</script>
</head>
<body>
<p>
If you are not redirected, <a href="/">click here</a> to go to the
homepage.
</p>
</body>
</html>
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
base: "/me/",
publicDir: "public",
});

0 comments on commit 856cb19

Please sign in to comment.