summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index a51a7a8..c73d881 100644
--- a/main.go
+++ b/main.go
@@ -209,8 +209,10 @@ func xdsApp(cliCtx *cli.Context) error {
return cli.NewExitError(err, -6)
}
- // Create and start Web Server
+ // Create Web Server
ctx.WWWServer = webserver.New(ctx.Config, ctx.MFolders, ctx.SDKs, ctx.Log)
+
+ // Run Web Server until exit requested (blocking call)
if err = ctx.WWWServer.Serve(); err != nil {
ctx.Log.Println(err)
return cli.NewExitError(err, -7)