From 24d7662b5b8573948adc217a0c34c5b7a4975b7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Ma=C5=84czak?=
<56172798+jakubmanczak@users.noreply.github.com>
Date: Sat, 31 Jul 2021 14:24:03 +0200
Subject: [PATCH] add proper 404 instead of redirect
---
netlify.toml | 9 +------
src/pages/404.vue | 65 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+), 8 deletions(-)
create mode 100644 src/pages/404.vue
diff --git a/netlify.toml b/netlify.toml
index 3c46562..a8953fe 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -22,11 +22,4 @@
# 'funny' REDIRECTS
[[redirects]]
from = "/pgtf-theme"
- to = "https://www.youtube.com/watch?v=zjedLeVGcfE"
-
-# catch-all to landing page
-[[redirects]]
- from = "/*"
- to = "/index.html"
- status = 200
- force = false
\ No newline at end of file
+ to = "https://www.youtube.com/watch?v=zjedLeVGcfE"
\ No newline at end of file
diff --git a/src/pages/404.vue b/src/pages/404.vue
new file mode 100644
index 0000000..b2a281f
--- /dev/null
+++ b/src/pages/404.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
error
+ 404
+
+
+
Ta ścieżka nie ma końca.
+
Wróć na główną.
+
+
+
+
+
+
+
+
+© 2021 GitHub, Inc. Terms Privacy Security Status Docs Contact GitHub Pricing
+API Training Blog About Loading complete