From b6e41a4f38d17375d2fd6a7b4769e28f9cbf6a78 Mon Sep 17 00:00:00 2001 From: askiiart Date: Thu, 9 Nov 2023 09:29:48 -0600 Subject: [PATCH] Fix img src for errors --- add-better-http-status-codes.sh | 1 + error/403.html | 2 +- error/404.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/add-better-http-status-codes.sh b/add-better-http-status-codes.sh index 9a74094..11621ef 100644 --- a/add-better-http-status-codes.sh +++ b/add-better-http-status-codes.sh @@ -5,3 +5,4 @@ mv pages/ error/ cp http-status-codes/you.gif assets/ cp http-status-codes/boykisser.jpg assets/ rm -rf http-status-codes/ +find error/ -type f | xargs sed -i 's/img src=\\//img src=\https:\/\/askiiart.net\/error\//g' \ No newline at end of file diff --git a/error/403.html b/error/403.html index 0f762a1..6747122 100644 --- a/error/403.html +++ b/error/403.html @@ -1,7 +1,7 @@ 403 You Shall Not Pass -

403 You Shall Not Pass


gandalf saying you looped infinitely +

403 You Shall Not Pass


gandalf saying you looped infinitely
nginx/1.25.3
diff --git a/error/404.html b/error/404.html index dc7ea9b..0eddf35 100644 --- a/error/404.html +++ b/error/404.html @@ -1,7 +1,7 @@ 404 You Made A Typo In The URL, Didn't You? -

404 You Made A Typo In The URL, Didn't You?


boykisser +

404 You Made A Typo In The URL, Didn't You?


boykisser
nginx/1.25.3