Add resource service #19

Merged
blek merged 13 commits from resource-service into 0.2-dev 2023-11-11 09:09:48 +01:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit 5a3153bbbe - Show all commits

View File

@ -86,6 +86,10 @@ func main() {
ProxyCacheMinSize = int(cache_min)
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,