host.io switch moved to .env
This commit is contained in:
parent
0c25145d54
commit
520715dba1
2 changed files with 3 additions and 2 deletions
|
@ -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']
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
HOSTIO_TOKEN=xyz
|
||||
HOSTIO_TOKEN=
|
||||
HOSTIO_ENABLED=False
|
Loading…
Reference in a new issue