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,
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue