Would you be able to clarify how to serve up a directory (with subfolders and files of multiple types)? I'm currently using Telegraph and use the following (for brevity some code has been omitted):
var webServer = Server()webServer.serveDirectory(directoryURLToServe)try webServer.start(port: Constants.port, interface: Constants.host)
Would you be able to clarify how to serve up a directory (with subfolders and files of multiple types)? I'm currently using Telegraph and use the following (for brevity some code has been omitted):
var webServer = Server()
webServer.serveDirectory(directoryURLToServe)
try webServer.start(port: Constants.port, interface: Constants.host)
Any help would be appreciated!