This commit is contained in:
parent
94a2a388de
commit
e1fa246e3d
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
"#httpserver/static.spl" import
|
"#httpserver/static.spl" import
|
||||||
|
|
||||||
1024 64 * net:http:server:=bufsize
|
1024 64 * net:http:server:=bufsize
|
||||||
|
60 20 * net:http:server:=client-cache
|
||||||
|
|
||||||
func destub { html | with html title ;
|
func destub { html | with html title ;
|
||||||
stub.html
|
stub.html
|
||||||
|
@ -45,7 +46,7 @@ func handle-client { | with client ;
|
||||||
client
|
client
|
||||||
:serve-html-string<index.html "/">
|
:serve-html-string<index.html "/">
|
||||||
:serve-html-string<features.html "/features">
|
:serve-html-string<features.html "/features">
|
||||||
:serve-file-cached<"style.css" "/style.css" "text/css">
|
:serve-file<"style.css" "/style.css" "text/css">
|
||||||
:serve-file-cached<"screenshot_ingame.png" "/screenshots/ingame.png" "image/png">
|
:serve-file-cached<"screenshot_ingame.png" "/screenshots/ingame.png" "image/png">
|
||||||
:serve-file-cached<"screenshot_selection.png" "/screenshots/selection.png" "image/png">
|
:serve-file-cached<"screenshot_selection.png" "/screenshots/selection.png" "image/png">
|
||||||
:serve-file-cached<"screenshot_seedoverlay_generating.png" "/screenshots/seedoverlay/generating.png" "image/png">
|
:serve-file-cached<"screenshot_seedoverlay_generating.png" "/screenshots/seedoverlay/generating.png" "image/png">
|
||||||
|
|
Loading…
Add table
Reference in a new issue