fix path_regex of tileserver
This commit is contained in:
parent
895cf20d63
commit
66a6e3eee2
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ logger = logging.getLogger('c3nav')
|
||||||
|
|
||||||
class TileServer:
|
class TileServer:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.path_regex = re.compile(r'^/(\d+)/(-\d+)/(-?\d+)/(-?\d+).png$')
|
self.path_regex = re.compile(r'^/(\d+)/(-?\d+)/(-?\d+)/(-?\d+).png$')
|
||||||
|
|
||||||
self.cookie_regex = re.compile(r'(^| )c3nav_tile_access="?([^;" ]+)"?')
|
self.cookie_regex = re.compile(r'(^| )c3nav_tile_access="?([^;" ]+)"?')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue