When creating a FileSystemWebController, you can now use the IndexFiles property to add custom index files. By default, index.html and index.htm are used:
Public Sub Main()
Dim server As HttpServer
Set server = New HttpServer
Dim controller As FileSystemWebController
Set controller = New FileSystemWebController
controller.IndexFiles.Add "myindex.html"
server.Controllers.AddController controller
server.Serve 8080
End Sub
Fixes #14.
When creating a
FileSystemWebController
, you can now use theIndexFiles
property to add custom index files. By default, index.html and index.htm are used: