1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 10:16:57 +00:00

Enumerate possible get_link responses

This commit is contained in:
Kane York 2015-10-24 22:38:04 -07:00
parent 9a1d1b720d
commit 93c3f6f672
8 changed files with 247 additions and 98 deletions

View file

@ -2,7 +2,7 @@ package main // import "bitbucket.org/stendec/frankerfacez/socketserver/cmd/sock
import (
"flag"
"../../lib"
"../../listener"
"log"
"net/http"
)
@ -25,7 +25,7 @@ func main() {
log.Fatalln("Either both --crt and --key can be provided, or neither.")
}
conf := &lib.Config {
conf := &listener.Config {
SSLKeyFile: *privateKeyFile,
SSLCertificateFile: *certificateFile,
UseSSL: *certificateFile != "",
@ -33,7 +33,7 @@ func main() {
Origin: *origin,
}
lib.SetupServerAndHandle(conf)
listener.SetupServerAndHandle(conf)
var err error
if conf.UseSSL {