Do not mount /tiles and /mapdetails routes in lean mode
This commit is contained in:
parent
3ef6dcf5d9
commit
bdc68e950e
|
@ -268,13 +268,14 @@ from .routes import (
|
|||
info,
|
||||
login,
|
||||
stats,
|
||||
tiles,
|
||||
tracks,
|
||||
users,
|
||||
mapdetails,
|
||||
exports,
|
||||
)
|
||||
|
||||
if not app.config.LEAN_MODE:
|
||||
from .routes import tiles, mapdetails
|
||||
|
||||
from .routes import frontend
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue