Update HTTP status pages
This commit is contained in:
parent
b6e41a4f38
commit
6d36a345a2
23 changed files with 143 additions and 142 deletions
5
add-better-http-status-codes.sh
Normal file → Executable file
5
add-better-http-status-codes.sh
Normal file → Executable file
|
@ -1,8 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
rm -rf error/
|
||||||
git clone https://git.askiiart.net/askiiart/http-status-codes.git
|
git clone https://git.askiiart.net/askiiart/http-status-codes.git
|
||||||
cp -r http-status-codes/pages/ .
|
cp -r http-status-codes/pages/ .
|
||||||
mv pages/ error/
|
mv pages/ error/
|
||||||
cp http-status-codes/you.gif assets/
|
cp http-status-codes/you.gif assets/
|
||||||
cp http-status-codes/boykisser.jpg assets/
|
cp http-status-codes/boykisser.png assets/
|
||||||
rm -rf http-status-codes/
|
rm -rf http-status-codes/
|
||||||
find error/ -type f | xargs sed -i 's/img src=\\//img src=\https:\/\/askiiart.net\/error\//g'
|
find error/ -type f | xargs sed -i 's/img src=\//img src=\/assets\//g'
|
Binary file not shown.
Before Width: | Height: | Size: 79 KiB |
BIN
assets/boykisser.png
Normal file
BIN
assets/boykisser.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
|
@ -1,7 +1,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head><title>403 You Shall Not Pass</title></head>
|
<head><title>403 You Shall Not Pass</title></head>
|
||||||
<body>
|
<body>
|
||||||
<center><h1>403 You Shall Not Pass</h1><br><img src=https://askiiart.net/error/you.gif alt="gandalf saying you looped infinitely" width="350"</center>
|
<center><h1>403 You Shall Not Pass</h1><br><img src=/assets/you.gif alt="gandalf saying you looped infinitely" width="350"</center>
|
||||||
<hr><center>nginx/1.25.3</center>
|
<hr><center>nginx/1.25.3</center>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head><title>404 You Made A Typo In The URL, Didn't You?</title></head>
|
<head><title>404 You Made A Typo In The URL, Didn't You?</title></head>
|
||||||
<body>
|
<body>
|
||||||
<center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=https://askiiart.net/assets/boykisser.jpg alt="boykisser" width="350"</center>
|
<center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=/assets/boykisser.png alt="boykisser" width="350"</center>
|
||||||
<hr><center>nginx/1.25.3</center>
|
<hr><center>nginx/1.25.3</center>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue