We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e1764 commit 3d0ac73Copy full SHA for 3d0ac73
backend/app/config.py
@@ -70,7 +70,7 @@ class ProductionConfig(Config):
70
def __init__(self):
71
super().__init__()
72
if self.SECRET_KEY is None:
73
- if self.HASSIO_RUN_MODE is not None:
+ if self.HASSIO_TOKEN is not None:
74
self.SECRET_KEY = secrets.token_urlsafe(32)
75
else:
76
raise ValueError('SECRET_KEY must be set in production')
0 commit comments