aboutsummaryrefslogtreecommitdiff
path: root/setup/base/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/base/base.go')
-rw-r--r--setup/base/base.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/base/base.go b/setup/base/base.go
index 82068aa9..26615fc0 100644
--- a/setup/base/base.go
+++ b/setup/base/base.go
@@ -52,6 +52,7 @@ var staticContent embed.FS
//go:embed static/client/login
var loginFallback embed.FS
+var StaticContent = staticContent
const HTTPServerTimeout = time.Minute * 5
@@ -235,7 +236,6 @@ func SetupAndServeHTTP(
logrus.WithError(err).Fatal("failed to serve unix socket")
}
}
-
} else {
if err := externalServ.ListenAndServe(); err != nil {
if err != http.ErrServerClosed {