Skip to content

Commit

Permalink
Merge branch 'main' into fix/use-random-secret-key
Browse files Browse the repository at this point in the history
  • Loading branch information
kusalananda authored May 7, 2024
2 parents de667e8 + 8b8766b commit fdec6ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import frontmatter
import markdown
from markdown.extensions.toc import TocExtension
from flask_compress import Compress


logger = logging.getLogger(__name__)
Expand All @@ -24,6 +25,7 @@
static_folder="static"
)
app.secret_key = os.getenv("APP_SECRET_KEY", os.urandom(24).hex())
Compress(app)


@app.route('/')
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ openpyxl==3.1.2
pandas==2.2.2
python-frontmatter==1.1.0
gunicorn==21.2.0
flask-compress==1.15

0 comments on commit fdec6ea

Please sign in to comment.