re-add noui version

This commit is contained in:
idk
2019-09-02 20:46:17 -04:00
parent 78306cc9e6
commit 081b25d54c
6 changed files with 56 additions and 6 deletions

View File

@ -79,6 +79,8 @@ var (
"custom CSS for web interface")
webJS = flag.String("js", "js/scripts.js",
"custom JS for web interface")
webDir = flag.String("wwwdir", "./www",
"Default www directory to serve if starting eephttpd")
leaseSetKey = flag.String("k", "none",
"key for encrypted leaseset")
leaseSetPrivateKey = flag.String("pk", "none",
@ -224,6 +226,7 @@ func lbMain(ctx context.Context) {
config.ClientDest = config.GetClientDest(*targetDest, "", "")
config.UserName = config.GetUserName(*webUser, "samcatd")
config.Password = config.GetPassword(*webPass, "")
config.ServeDirectory = config.GetWWWDir(*webDir, "./www")
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt)