diff pkg/controllers/routes.go @ 441:76a76691a298

Load the configuration of the published services from database. TODO: Use this to do the publishing.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 21 Aug 2018 14:59:36 +0200
parents 1504f8eff12e
children fc37e7072022
line wrap: on
line diff
--- a/pkg/controllers/routes.go	Tue Aug 21 14:45:38 2018 +0200
+++ b/pkg/controllers/routes.go	Tue Aug 21 14:59:36 2018 +0200
@@ -70,7 +70,7 @@
 
 	// Internal proxies.
 	internal := &httputil.ReverseProxy{
-		Director:       proxyDirector(findProxy("internal")),
+		Director:       proxyDirector(publishedServices.find),
 		ModifyResponse: proxyModifyResponse("/api/internal/"),
 	}