Seperate monitor from users' databases.

This commit is contained in:
zhuyj17 2016-11-19 17:39:10 +08:00 committed by Peidong Liu
parent 0fd1e571c2
commit f63355682d
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ if (external_login == 'TRUE'):
userpoint = "http://" + env.getenv('USER_IP') + ":" + str(env.getenv('USER_PORT'))
G_userip = env.getenv("USER_IP")
def post_to_user(url = '/', data={}):
return requests.post(userpoint+url,data=data).json()