chat log to stdout
This commit is contained in:
@@ -27,7 +27,7 @@ func addRoutes(sm *http.ServeMux, chat *Chat, staticFiles string) {
|
||||
}
|
||||
|
||||
if staticFiles == "" {
|
||||
logs.Critical("embedded static file serving")
|
||||
logs.Debug("embedded static file serving")
|
||||
sm.Handle(
|
||||
prefix["static"],
|
||||
http.FileServer(
|
||||
@@ -50,7 +50,7 @@ func addRoutes(sm *http.ServeMux, chat *Chat, staticFiles string) {
|
||||
},
|
||||
)
|
||||
} else {
|
||||
logs.Critical("setting up dev mode static file serving")
|
||||
logs.Debug("setting up dev mode static file serving")
|
||||
sm.Handle(
|
||||
prefix["static"],
|
||||
http.StripPrefix(
|
||||
|
||||
Reference in New Issue
Block a user