feat(web_server.py): add WEB_SERVER and BACKEND app.configs
This commit is contained in:
@@ -28,6 +28,9 @@ class JudasWebServer:
|
|||||||
)
|
)
|
||||||
self.app.secret_key = secret_key
|
self.app.secret_key = secret_key
|
||||||
|
|
||||||
|
self.app.config["WEB_SERVER"] = self
|
||||||
|
self.app.config["BACKEND"] = self.backend
|
||||||
|
|
||||||
# hard-code password
|
# hard-code password
|
||||||
self.app.config["PASSWORD"] = "123"
|
self.app.config["PASSWORD"] = "123"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user