Update app.py
This commit is contained in:
parent
522bc216f5
commit
29caa480fc
4
app.py
4
app.py
@ -1,10 +1,10 @@
|
||||
from flask import Flask, render_template, request, redirect, url_for, jsonify, flash
|
||||
from flask_login import LoginManager, UserMixin, login_user, login_required, logout_user, current_user
|
||||
import json
|
||||
from main import my_function, load_config
|
||||
from main import main, load_config
|
||||
|
||||
app = Flask(__name__)
|
||||
app.secret_key = 'your_secret_key'
|
||||
app.secret_key = 'your_secret_alex-design_key-2024'
|
||||
|
||||
login_manager = LoginManager()
|
||||
login_manager.init_app(app)
|
||||
|
Loading…
Reference in New Issue
Block a user