From 2b980f7d9f5ed7e8ac4c7ad898219f1fc1736c86 Mon Sep 17 00:00:00 2001 From: Adam Laki Date: Thu, 7 Mar 2024 18:18:59 +0100 Subject: [PATCH] Migrate to netlify.toml --- _redirects | 1 - netlify.toml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) delete mode 100644 _redirects diff --git a/_redirects b/_redirects deleted file mode 100644 index aa33418..0000000 --- a/_redirects +++ /dev/null @@ -1 +0,0 @@ -/* /404.html 404 diff --git a/netlify.toml b/netlify.toml index 3c89602..ef623e6 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,2 +1,8 @@ [build] + publish = "dist" command = "npm run build" + +[[redirects]] + from = "/*" + to = "/404.html" + status = 404