Initial e2e testing

Authored by @FatherInire
This commit is contained in:
FatherInire 2022-05-13 17:55:29 +10:00 committed by GitHub
parent 3e3cb7e2f9
commit a12123ca01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 55 additions and 4 deletions

View file

@ -9,7 +9,7 @@ from flask import request
SITE = environ.get("DOMAIN", '').strip()
SITE_NAME = environ.get("SITE_NAME", '').strip()
if SITE == "localhost": SITE_FULL = 'http://' + SITE
if "localhost" in SITE: SITE_FULL = 'http://' + SITE
else: SITE_FULL = 'https://' + SITE