Skip to content

Commit

Permalink
Update lizmapServices.class.php
Browse files Browse the repository at this point in the history
Causes of bad url construction such as http://myhost/cgi-bin/qgis_mapserv.fcgi/lizmap//server.json adding a double slash before of server.json and avoid the correct recognization of Lizmap server plugin on Master
  • Loading branch information
Antoviscomi authored Feb 6, 2025
1 parent b7d05cb commit a54257b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/modules/lizmap/classes/lizmapServices.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ public function getHostLizmapAPI()
if (empty($this->lizmapPluginAPIURL)) {
// When the Lizmap API URL is not set, we use the WMS server URL only
// and we add '/lizmap'/ at then end
return rtrim($this->wmsServerURL, '/').'/lizmap/';
return rtrim($this->wmsServerURL, '/').'/lizmap';
}

// When the Lizmap API URL is set
Expand Down

0 comments on commit a54257b

Please sign in to comment.