alex-sharoff-website/backend/config.py
2023-11-11 10:34:31 +04:00

22 lines
510 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import os
# TODO: store keys in env variables
RECAPTCHA_PUBLIC_KEY = "RECAPTCHA_PUBLIC_KEY"
RECAPTCHA_PRIVATE_KEY = "RECAPTCHA_PRIVATE_KEY-L4DsNDlza17N7dEz36"
FLASK_APIKEY = "FLASK_APIKEY"
if 'ALEX_DEBUG' in os.environ:
DEPLOY_PATH = '.'
else:
DEPLOY_PATH = '/home/c/cn52774/alex-sharoff/public_html/backend'
CONTACT_REQUEST_TEMPLATE = """
Обращение через форму обратной связи с сайта alex-sharoff.ru:
Имя: {name}
Почта: {email}
-------
{message}
"""