Browse Source

ripristinato funzionato via vm altemica

mauro 1 month ago
parent
commit
41bd248822
2 changed files with 3 additions and 0 deletions
  1. 1 0
      bpconverter/settings.py
  2. 2 0
      frontpage/views.py

+ 1 - 0
bpconverter/settings.py

@@ -28,6 +28,7 @@ DEBUG = True
 
 #capture environment from google
 allowed_hosts = list()
+allowed_hosts.append('altemica.net')
 
 if 'ALLOWED' in os.environ:
     allowed_hosts = os.environ['ALLOWED'].split(',')

+ 2 - 0
frontpage/views.py

@@ -96,6 +96,8 @@ def frontpage(request):
   print(__name__)
   listaccepted = list()
   listaccepted.append('127.0.0.1')
+  listaccepted.append('195.110.154.210')
+  listaccepted.append('195.110.154.213')
 
   if 'REMOTE' in os.environ:
     remote = os.environ['REMOTE'].split(',')