Initial e2e testing
Authored by @FatherInire
This commit is contained in:
parent
3e3cb7e2f9
commit
a12123ca01
10 changed files with 55 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue