Fix a number of async/await bugs, separate serve_dir() into serve_path() which does...
authorNick Downing <nick@ndcode.org>
Fri, 16 Nov 2018 23:44:16 +0000 (10:44 +1100)
committerNick Downing <nick@ndcode.org>
Fri, 16 Nov 2018 23:44:40 +0000 (10:44 +1100)
commit7665be60dc67dccbc1da5329b003efe09519ee91
tree821c2d3bbedfa2de13253bc2dd8985441aebe73a
parent06b688d9fe38477d9588ae789828107776adecbd
Fix a number of async/await bugs, separate serve_dir() into serve_path() which does initial evaluation of a pathname component and serve_dir() which only tries to serve a directory, implement components array so that we can use split('/') initially instead of repeatedly analyzing the path, pass into *.dir.jst template
Server.js
SiteRoot.js