Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed directory -> index-page handling

  • Loading branch information...
commit d7ef9afb703e1bd20f142a1edc1d2f28352791bb 1 parent 6eb32f9
@x6j8x authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  machine/resource/static/static.factor
View
2  machine/resource/static/static.factor
@@ -86,7 +86,7 @@ M: static-file-resource generate-etag
"%s-%s" sprintf sha1 checksum-bytes hex-string ;
M: static-file-resource moved-permanently?
- entry>> directory?>> [ "http://127.0.0.1:8080/files/index.html" ] [ f ] if ;
+ dup entry>> directory?>> [ [ request url>> path>> ] dip index-page>> append-path ] [ drop f ] if ;
M: static-file-resource finish-request
"bytes" "Accept-Ranges" set-response-header
Please sign in to comment.
Something went wrong with that request. Please try again.