mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
Add allowed local host alias
This commit is contained in:
parent
8fcad56e15
commit
04e097536e
@ -18,6 +18,7 @@ MARKET_PRICE_APIS = https://blockchain.info/ticker, https://api.yadio.io/exrates
|
||||
|
||||
# Host e.g. robosats.com
|
||||
HOST_NAME = ''
|
||||
LOCAL_ALIAS = 'e.g:my_garbage_server'
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = 'django-insecure-6^&6uw$b5^en%(cu2kc7_o)(mgpazx#j_znwlym0vxfamn2uo-'
|
||||
|
@ -36,7 +36,7 @@ if os.environ.get('DEVELOPMENT'):
|
||||
|
||||
AVATAR_ROOT = STATIC_ROOT + 'assets/avatars/'
|
||||
|
||||
ALLOWED_HOSTS = [config('HOST_NAME'),'127.0.0.1']
|
||||
ALLOWED_HOSTS = [config('HOST_NAME'),config('LOCAL_ALIAS'),'127.0.0.1']
|
||||
|
||||
# Application definition
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user