host.io switch moved to .env

This commit is contained in:
Matěj Divecký 2022-07-17 17:39:08 +02:00
parent 0c25145d54
commit 520715dba1
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@ app.config['JSONIFY_PRETTYPRINT_REGULAR'] = True
# Host.io is limited do 1000 request/month. And it's only used to show domains on the same IP. It can be disabled while testing to prevent issues.
HOSTIO_TOKEN = os.environ['HOSTIO_TOKEN']
HOSTIO_ENABLED = False
HOSTIO_ENABLED = os.environ['HOSTIO_ENABLED']

View file

@ -1 +1,2 @@
HOSTIO_TOKEN=xyz
HOSTIO_TOKEN=
HOSTIO_ENABLED=False