forked from seba/servefile
When serving a `../` as directory (with `-l`), servefile creates an endless 301-redirect loop. Having an absolute path fixes this. Since this error might come up any time again, we're setting `targetDir` to its absolute path right from the beginning and never have to worry about it later on.targetdir_abspath
parent
6e27ecfe8c
commit
5680f23bc9
Loading…
Reference in new issue