Fix img src for errors

This commit is contained in:
askiiart 2023-11-09 09:29:48 -06:00
parent 1ac27d0058
commit b6e41a4f38
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
3 changed files with 3 additions and 2 deletions

View file

@ -5,3 +5,4 @@ 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.jpg 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'

View file

@ -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=/you.gif alt="gandalf saying you looped infinitely" width="350"</center> <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>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -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.png alt="boykisser" width="350"</center> <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>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>