Commit 5b1c8fcd authored by Christophe Benz's avatar Christophe Benz
Browse files

Remove API_VALIDATE_ENDPOINT as it is no more used

parent d93d3eb8
......@@ -9,9 +9,6 @@ SECRET_KEY="dev"
# Comment the following line to disable badge display
SHIELDS_IO_BASE_URL="https://img.shields.io/"
# Validata API endpoint
API_VALIDATE_ENDPOINT=http://127.0.0.1:5600/validate
# Homepage sections and blocks config file path
HOMEPAGE_CONFIG_FILE=homepage_config.json.example
......
......@@ -29,10 +29,6 @@ logging.basicConfig(
SECRET_KEY = os.environ.get("SECRET_KEY") or None
API_VALIDATE_ENDPOINT = os.environ.get("API_VALIDATE_ENDPOINT") or None
if API_VALIDATE_ENDPOINT is None:
raise ValueError("API_VALIDATE_ENDPOINT environment variable required")
SHIELDS_IO_BASE_URL = os.environ.get("SHIELDS_IO_BASE_URL") or None
if SHIELDS_IO_BASE_URL:
SHIELDS_IO_BASE_URL = without_trailing_slash(SHIELDS_IO_BASE_URL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment