fix: setup endpoint not showing on RaspiBlitz

This commit is contained in:
fusion44 2022-10-22 12:08:05 +02:00
parent f06d84c29f
commit 36e2d525b7
No known key found for this signature in database

View file

@ -5,5 +5,5 @@ from app.system.models import APIPlatform
router = None
_PLATFORM = config("platform", default=APIPlatform.RASPIBLITZ)
if _PLATFORM != APIPlatform.RASPIBLITZ:
if _PLATFORM == APIPlatform.RASPIBLITZ:
from app.setup.impl.raspiblitz.router import router