Do not mount /tiles and /mapdetails routes in lean mode

This commit is contained in:
Paul Bienkowski 2022-02-18 18:24:05 +01:00
parent 3ef6dcf5d9
commit bdc68e950e

View file

@ -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