print a warning if resourced is disabled
This commit is contained in:
parent
cdcecad84d
commit
f976c85e48
|
@ -86,6 +86,10 @@ func main() {
|
||||||
ProxyCacheMinSize = int(cache_min)
|
ProxyCacheMinSize = int(cache_min)
|
||||||
|
|
||||||
conf.Validate()
|
conf.Validate()
|
||||||
|
|
||||||
|
if ! conf.ResourceD.Enabled {
|
||||||
|
fmt.Println("\x1b[33m[warn] resourceD is disabled. No resources will be served\x1b[0m")
|
||||||
|
}
|
||||||
|
|
||||||
app := fiber.New(fiber.Config {
|
app := fiber.New(fiber.Config {
|
||||||
Prefork: true,
|
Prefork: true,
|
||||||
|
|
Loading…
Reference in New Issue