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, info,
login, login,
stats, stats,
tiles,
tracks, tracks,
users, users,
mapdetails,
exports, exports,
) )
if not app.config.LEAN_MODE:
from .routes import tiles, mapdetails
from .routes import frontend from .routes import frontend