linuxrouter/docker/routlin-dash/app/settings.py
2026-06-06 14:55:29 -04:00

9 lines
185 B
Python

import os
def is_production():
return os.environ.get('PRODUCTION_MODE', '').lower() in ('1', 'true', 'yes')
def is_pro():
return bool(os.environ.get('LICENSE', '').strip())