Files
hockey_new/KEEP_LOCAL_CREDENTIALS.txt

18 lines
711 B
Plaintext
Raw Permalink 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.

Секреты Stat2TV/KHL API не должны попадать в Git.
Рекомендуемый production-вариант:
/mnt/khl/.env
Переменные:
STAT2TV_LOGIN=...
STAT2TV_PASSWORD=...
STAT2TV_BASE_URL=...
STAT2TV_AUTH_MODE=auto
STAT2TV_VERIFY_SSL=true
Код берёт STAT2TV_LOGIN / STAT2TV_PASSWORD из ENV раньше локального JSON.
settings/stat2tv_credentials.local.json остаётся только fallback-вариантом и игнорируется Git.
UI-конфиги settings/ui_builder_draft.json и settings/ui_builder_published.json,
а также публичный settings/hockey_api.json теперь можно хранить в Git.