o
    Hý¤hh  ã                   @   s&   d Z ddlZG dd„ dƒZdd„ ZdS )a  
config.py

Purpose:
  Provide configuration classes and an initializer for the Flask application.
  This keeps `app.py` focused on wiring the app instead of holding config
  details. Production deployments can override environment variables.

Exports:
  - BaseConfig: Default config with safe cookie defaults
  - apply_config(app): Apply configuration, including SECRET_KEY loading
é    Nc                   @   s   e Zd ZdZdZdZdZdS )Ú
BaseConfigTÚStrictiÀ¨  N)Ú__name__Ú
__module__Ú__qualname__ÚSESSION_COOKIE_SECUREÚSESSION_COOKIE_HTTPONLYÚSESSION_COOKIE_SAMESITEÚPERMANENT_SESSION_LIFETIME© r   r   ú#/var/www/html/app_modules/config.pyr      s
    r   c                 C   s   | j  t¡ t dd¡| _d S )NÚ
SECRET_KEYÚ€a4db8c5884908d99e43c30f338778a2d12fbf862418abc5a3104884d3608fcc5ef00c60ec88e92d7f12e4f2a8f80f641c8922fc10472f5b64728d92ccdb6123c)ÚconfigÚfrom_objectr   ÚosÚgetenvÚ
secret_key)Úappr   r   r   Úapply_config   s   
ÿr   )Ú__doc__r   r   r   r   r   r   r   Ú<module>   s    