Explorar o código

Fixed SERVERNAME in config.py

Max Halford %!s(int64=10) %!d(string=hai) anos
pai
achega
3de11730d0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      config.py

+ 2 - 2
config.py

@@ -1,5 +1,5 @@
-# Name and port of the server
-SERVER_NAME = ['localhost:5000']
+# Host and port of the server
+SERVER_NAME = '0.0.0.0:5000'
 # DEBUG has to be to False in a production enrironment for security reasons
 DEBUG = True
 # Secret key for generating tokens