feat: add additional routes from defined directory

This commit is contained in:
Jonas Kaninda
2024-11-18 08:50:49 +01:00
parent 0b5e11a5dd
commit a9d365daa4
9 changed files with 137 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ func (gatewayServer GatewayServer) Start() error {
}
if !gatewayServer.gateway.DisableDisplayRouteOnStart {
printRoute(gatewayServer.gateway.Routes)
printRoute(dynamicRoutes)
}
httpServer := gatewayServer.createServer(":8080", route, nil)