Parcourir la source

- Corrected the port details

Max Halford il y a 10 ans
Parent
commit
1f7592f6e8
2 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 1
      app/models.py
  2. 0 2
      config.py

+ 1 - 1
app/models.py

@@ -10,7 +10,7 @@ class User(db.Model, UserMixin):
     __tablename__ = 'users'
     name = db.Column(db.String)
     surname = db.Column(db.String)
-    phone = db.Column(db.Integer)
+    phone = db.Column(db.String)
     email = db.Column(db.String, primary_key=True)
     confirmation = db.Column(db.Boolean)
     _password = db.Column(db.String)

+ 0 - 2
config.py

@@ -1,5 +1,3 @@
-# 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