|
@@ -5,7 +5,7 @@ import time
|
|
|
|
|
|
app = Flask(__name__)
|
|
app = Flask(__name__)
|
|
|
|
|
|
-client = MongoClient("192.168.17.90", 27017)
|
|
|
|
|
|
+client = MongoClient("sedatabase", 27017)
|
|
db = client["react_database"]
|
|
db = client["react_database"]
|
|
user = db["user"]
|
|
user = db["user"]
|
|
location = db["location"]
|
|
location = db["location"]
|
|
@@ -84,4 +84,4 @@ if __name__=="__main__":
|
|
}
|
|
}
|
|
])
|
|
])
|
|
|
|
|
|
- app.run()
|
|
|
|
|
|
+ app.run(host='0.0.0.0')
|