You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: