mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-06-07 15:25:31 -04:00
ff3a44b91e
- 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.
9 lines
158 B
Python
9 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
|
|
|