now uses formatters instead of hardcoded chain off individual configs
added formatter type to associate a service with their templates and filepaths
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import type { Service } from "./types";
|
||||
should validate config, for now just checks for port collisions
|
||||
**/
|
||||
export class ConfigValidator {
|
||||
static validate(services: Service[]){
|
||||
static validatecaddyfile(services: Service[]){
|
||||
const hostports = new Map<string, Set<number>>();
|
||||
|
||||
for (const service of services) {
|
||||
|
||||
Reference in New Issue
Block a user