Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit a9726e3

Browse files
committed
Use configuration
1 parent 94e3d43 commit a9726e3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

flask_rp/wsgi.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636

3737
app.run(host='127.0.0.1', port=app.config.get('PORT'),
3838
debug=True,
39-
ssl_context=('{}/certs/cert.pem'.format(dir_path),
40-
'{}/certs/key.pem'.format(dir_path))
41-
)
39+
ssl_context=('{}/{}'.format(dir_path, app.config["SERVER_CERT"]),
40+
'{}/{}'.format(dir_path, app.config["SERVER_KEY"])))

0 commit comments

Comments
 (0)