diff controllers/routes.go @ 350:1ea90a22bd15

Better replacements for WFS proxy.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 06 Aug 2018 18:13:58 +0200
parents ad0e47c1fedf
children ac7e0f980456
line wrap: on
line diff
--- a/controllers/routes.go	Mon Aug 06 17:50:45 2018 +0200
+++ b/controllers/routes.go	Mon Aug 06 18:13:58 2018 +0200
@@ -58,7 +58,7 @@
 		ModifyResponse: externalWFSModifyResponse,
 	}
 
-	api.Handle("/externalwfs/{wfs}", externalWFSProxy).
+	api.Handle("/externalwfs/{wfs}/{rest:.*}", externalWFSProxy).
 		Methods(
 			http.MethodGet, http.MethodPost,
 			http.MethodPut, http.MethodDelete)