cmd: add option to disable embedded outpost

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-29 19:19:13 +02:00
parent e872371970
commit 45731d8069
2 changed files with 7 additions and 4 deletions

View File

@ -60,7 +60,9 @@ func main() {
for {
go attemptStartBackend(g)
ws.Start()
go attemptProxyStart(ws, u)
if !config.G.Web.DisableEmbeddedOutpost {
go attemptProxyStart(ws, u)
}
<-ex
running = false