mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
Post to backend when server start
This commit is contained in:
parent
95a8f710f8
commit
a4bac68d02
3 changed files with 19 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue