print a warning if resourced is disabled
This commit is contained in:
parent
b834f5df9e
commit
5a3153bbbe
|
@ -87,6 +87,10 @@ func main() {
|
|||
|
||||
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 {
|
||||
Prefork: true,
|
||||
CaseSensitive: false,
|
||||
|
|
Loading…
Reference in New Issue