Added error checking with sending responses
This commit is contained in:
@@ -43,3 +43,11 @@
|
||||
[2022-01-31T03:25:44Z] swebs started
|
||||
[2022-01-31T03:25:48Z] Couldn't find swebs user
|
||||
[2022-01-31T03:25:48Z] swebs started
|
||||
[2022-01-31T03:35:13Z] Couldn't find swebs user
|
||||
[2022-01-31T03:35:13Z] swebs started
|
||||
[2022-01-31T03:35:35Z] Couldn't find swebs user
|
||||
[2022-01-31T03:35:35Z] swebs started
|
||||
[2022-01-31T03:36:20Z] Couldn't find swebs user
|
||||
[2022-01-31T03:36:20Z] swebs started
|
||||
[2022-01-31T03:37:29Z] Couldn't find swebs user
|
||||
[2022-01-31T03:37:29Z] swebs started
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
<h1>You found the easter egg!</h1>
|
||||
<img src="/egg.png">
|
||||
<p>There should be a picture of an egg here, but it doesn't show. go to 127.0.0.1:8000/egg.png to see it.</p>
|
||||
|
||||
BIN
example/site/egg.png
Normal file
BIN
example/site/egg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
@@ -10,5 +10,6 @@ read /blog/.* site/blog/
|
||||
#/blog/2021-1-25.html turns into site/blog//blog/2021-1-25.html
|
||||
set host 127.0.0.1:8000
|
||||
read / site/easteregg.html
|
||||
read /egg.png site/egg.png
|
||||
set host .*
|
||||
read /alldomains site/alldomains.html
|
||||
|
||||
Reference in New Issue
Block a user