Skip to content

Commit 3d0ac73

Browse files
committed
revert that
1 parent 54e1764 commit 3d0ac73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class ProductionConfig(Config):
7070
def __init__(self):
7171
super().__init__()
7272
if self.SECRET_KEY is None:
73-
if self.HASSIO_RUN_MODE is not None:
73+
if self.HASSIO_TOKEN is not None:
7474
self.SECRET_KEY = secrets.token_urlsafe(32)
7575
else:
7676
raise ValueError('SECRET_KEY must be set in production')

0 commit comments

Comments
 (0)