Skip to content

Commit

Permalink
FIX: make sure that root directory ends with a slash
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed May 9, 2023
1 parent 5f4f054 commit 931a662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpd.reb
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ http-server: function [
if config [
if object? spec [ spec: body-of spec ]
spec/root: case [
file? spec/root [to-real-file dirize clean-path spec/root]
file? spec/root [dirize to-real-file clean-path spec/root]
spec/root = 'current-dir [what-dir]
'else [none]
]
Expand Down

0 comments on commit 931a662

Please sign in to comment.