mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
- Updated `docker-compose.yml` to remove version specification for modern compatibility. - Enhanced secret key management in `__init__.py` with a new function to load or generate a secure key. - Changed session file handling from `pickle` to `json` for improved security and compatibility. - Added security headers in `routes.py` to enhance application security. - Updated version to 1.2.1 in `version.py`. - Refactored key derivation method in `config.py` to use PBKDF2 for better security. - Improved calculator widget's evaluation method to prevent arbitrary code execution.
8 lines
158 B
Python
8 lines
158 B
Python
import os
|
|
|
|
optional_dev_tag = ''
|
|
if os.getenv('DEV_BUILD'):
|
|
optional_dev_tag = '.dev' + os.getenv('DEV_BUILD')
|
|
|
|
__version__ = '1.2.1' + optional_dev_tag
|
|
|