mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-17 12:26:11 +02:00
fix: setup endpoint not showing on RaspiBlitz
This commit is contained in:
parent
f06d84c29f
commit
36e2d525b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue