Fix message when SERVE_DOMAIN is missing

This commit is contained in:
2022-05-04 00:18:10 +02:00
parent 4929b4c04d
commit 6ca662eca5

View File

@ -17,7 +17,7 @@ load_dotenv()
try:
serve_domain = os.environ["SERVE_DOMAIN"]
except KeyError:
sys.exit("discord-embed: Environment variable 'DOMAIN' is missing!")
sys.exit("discord-embed: Environment variable 'SERVE_DOMAIN' is missing!")
# Remove trailing slash from domain
if serve_domain.endswith("/"):