Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Fix of utfgrid serving bug related with changes in #59
Browse files Browse the repository at this point in the history
  • Loading branch information
daliborjanak committed Jan 25, 2016
1 parent 8f6a2ce commit 28aba6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tileserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
'/' => 'Server:getHtml',
'/test' => 'Server:getInfo',
'/html' => 'Server:getHtml',
'/:alpha/:number/:number/:number.:alpha.json' => 'Json:getUTFGrid',
'/:alpha.json' => 'Json:getJson',
'/:alpha.jsonp' => 'Json:getJsonp',
'/:alpha/:number/:number/:number.:alpha.json' => 'Json:getUTFGrid',
'/wmts' => 'Wmts:get',
'/wmts/1.0.0/WMTSCapabilities.xml' => 'Wmts:get',
'/wmts/:alpha/:number/:number/:alpha' => 'Wmts:getTile',
Expand Down Expand Up @@ -1475,7 +1475,7 @@ public static function serve($routes) {
$tokens = array(
':string' => '([a-zA-Z]+)',
':number' => '([0-9]+)',
':alpha' => '([a-zA-Z0-9-_@.]+)'
':alpha' => '([a-zA-Z0-9-_@\.]+)'
);
//global $config;
foreach ($routes as $pattern => $handler_name) {
Expand Down

0 comments on commit 28aba6f

Please sign in to comment.