Refactored server setup and run out of main (#425)

This commit is contained in:
Geoff Bourne
2025-07-05 19:32:33 -05:00
committed by GitHub
parent 1ee3eb4de3
commit 05c57c3b85
6 changed files with 308 additions and 223 deletions
+4
View File
@@ -49,6 +49,10 @@ func (r *routesConfigLoader) Load(routesConfigFileName string) error {
}
func (r *routesConfigLoader) Reload() error {
if !r.isEnabled() {
return nil
}
config, readErr := r.readFile()
if readErr != nil {