Skip to content

Commit

Permalink
ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Joramas committed Apr 2, 2024
1 parent 200500a commit fcb3153
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
from roles.models import get_all_roles
from sup_view import inspect_supervisor
from werkzeug.utils import secure_filename
from werkzeug.middleware.proxy_fix import ProxyFix

app = Flask(__name__)
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_port=1)
from flask_sslify import SSLify

app = Flask(__name__)
sslify = SSLify(app)

# Configuration
app.config["DEBUG"] = True
Expand Down

0 comments on commit fcb3153

Please sign in to comment.