diff --git a/package.json b/package.json index c5cc634..f6fcf13 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "personal-website", + "name": "me", "private": true, "version": "0.0.0", "type": "module", diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..a6d34ff --- /dev/null +++ b/public/404.html @@ -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> diff --git a/vite.config.js b/vite.config.js index e913a32..bdb64a3 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,4 +5,5 @@ import react from "@vitejs/plugin-react"; export default defineConfig({ plugins: [react()], base: "/me/", + publicDir: "public", });