1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 08:28:31 +00:00

Post to backend when server start

This commit is contained in:
Kane York 2015-11-08 21:10:24 -08:00
parent 95a8f710f8
commit a4bac68d02
3 changed files with 19 additions and 2 deletions

View file

@ -48,12 +48,13 @@ func main() {
if err != nil {
log.Fatal("Could not create logfile: ", err)
}
log.SetOutput(logFile)
server.SetupServerAndHandle(conf, nil)
go commandLineConsole()
log.SetOutput(logFile)
if conf.UseSSL {
err = httpServer.ListenAndServeTLS(conf.SSLCertificateFile, conf.SSLKeyFile)
} else {