Skip to content

Commit

Permalink
add fastcgi controller to main module
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneu committed May 8, 2019
1 parent 73a751a commit 11fb254
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/Modules/Main.bas
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ Attribute VB_Name = "Main"
Public Sub Main()
Dim server As HttpServer
Set server = New HttpServer


Dim php As FastCGIWebController
Set php = New FastCGIWebController

php.Host = "localhost"
php.Port = 9000

server.Controllers.AddController php
server.Controllers.AddController New WorkbookWebController
server.Controllers.AddController New FileSystemWebController

server.Serve 8080
End Sub

0 comments on commit 11fb254

Please sign in to comment.