Skip to content
Snippets Groups Projects
Commit 9e55e166 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Get CBA_API_KEY from the environment

parent cb14d22d
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ CBA_URL = "https://cba.fro.at" ...@@ -140,7 +140,7 @@ CBA_URL = "https://cba.fro.at"
# Contact cba@fro.at to get whitelisted and get an API KEY # Contact cba@fro.at to get whitelisted and get an API KEY
# Leave empty to disable requests to CBA # Leave empty to disable requests to CBA
CBA_API_KEY = "" CBA_API_KEY = os.getenv("CBA_API_KEY", default="")
# URL to CBA ajax handler (used for retrieving additional data or increasing stream counter) # URL to CBA ajax handler (used for retrieving additional data or increasing stream counter)
CBA_AJAX_URL = CBA_URL + "/wp-admin/admin-ajax.php" CBA_AJAX_URL = CBA_URL + "/wp-admin/admin-ajax.php"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment