Implemented hostnames

This commit is contained in:
Nate Choe
2022-01-26 06:04:43 -06:00
parent d16cc39f1e
commit db645b0bf5
9 changed files with 51 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
set host localhost:8000
read ^/$ site/index.html
read ^/hello$ site/hello.html
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