[Mapbender-commits] r10277 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Oct 1 23:49:52 PDT 2019


Author: armin11
Date: 2019-10-01 23:49:52 -0700 (Tue, 01 Oct 2019)
New Revision: 10277

Modified:
   trunk/mapbender/http/php/mod_linkedDataProxy.php
Log:
Fix for server url in api json

Modified: trunk/mapbender/http/php/mod_linkedDataProxy.php
===================================================================
--- trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-10-02 06:41:03 UTC (rev 10276)
+++ trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-10-02 06:49:52 UTC (rev 10277)
@@ -1010,7 +1010,8 @@
 
 		$apiDescriptionJson->info->version = "1.0.0";
 
-		$apiDescriptionJson->servers[0]->url = $wfs->getCapabilities;
+		//server url - for the proxy!!!
+		$apiDescriptionJson->servers[0]->url = $linkedDataProxyUrl."/";
 
 		$apiDescriptionJson->tags[0]->name = "Capabilities";
 		$apiDescriptionJson->tags[0]->description = "Essential characteristics of this API including information about the data.";



More information about the Mapbender_commits mailing list