Files
Hugo Pierret 4af947b440
Some checks failed
Deploy Backend / deploy (push) Failing after 2m30s
Cleanup: remove unused code, add CI/CD workflow
- Remove flask-sse, Redis (unused)
- Remove ImageService, file_utils (unused)
- Remove /download-posters route (frontend handles download client-side)
- Remove LETTERBOXD_API_URL, secure_filename (dead imports)
- Fix duplicate TMDBService instantiation
- Simplify config.py (remove REDIS_URL)
- Fix gunicorn user home dir for control socket
- Add .gitignore for __pycache__
- Add .gitea/workflows/deploy.yml for tag-based CI/CD
2026-04-26 17:25:21 +02:00

19 lines
343 B
Python

import os
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY', 'dev_key')
DEBUG = False
TESTING = False
class DevelopmentConfig(Config):
DEBUG = True
class ProductionConfig(Config):
DEBUG = False
config = {
'development': DevelopmentConfig,
'production': ProductionConfig,
'default': DevelopmentConfig
}