From f9b72c82e0e4632c4f642b0e2758a341f047d92a Mon Sep 17 00:00:00 2001 From: Tiger Ren Date: Sun, 20 Oct 2024 19:34:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0app.secret=5Fkey=EF=BC=8C?= =?UTF-8?q?=E5=8A=A0=E5=AF=86session?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manage.py b/manage.py index 4584ac2..66d05cd 100644 --- a/manage.py +++ b/manage.py @@ -4,6 +4,9 @@ from app import create_app logger = logging.getLogger(__name__) app = create_app() +app.secret_key = "16ba35d65e87935161077764c8d2d41aff6cbfee6660338642ae307c541e8711" # 用于加密Session数据 + + if __name__ == '__main__': logger.info("Starting the application")