added listen_ip to the conf file
This commit is contained in:
parent
30d1cbe904
commit
427e617c78
3
app.py
3
app.py
@ -115,4 +115,5 @@ if __name__=="__main__":
|
|||||||
app.add_url_rule('/login', 'login', login, methods = ['POST', 'GET'])
|
app.add_url_rule('/login', 'login', login, methods = ['POST', 'GET'])
|
||||||
app.add_url_rule('/req', 'req', req, methods = ['POST', 'GET'])
|
app.add_url_rule('/req', 'req', req, methods = ['POST', 'GET'])
|
||||||
app.add_url_rule('/req/signup', 'signup', signup, methods = ['POST'])
|
app.add_url_rule('/req/signup', 'signup', signup, methods = ['POST'])
|
||||||
app.run(host="104.248.118.130",debug=True)
|
# app.run(host="104.248.118.130",debug=True)
|
||||||
|
app.run(host=conf_obj["listen_ip"],debug=True)
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"instance_name": "lingy.in",
|
"instance_name": "lingy.in",
|
||||||
|
"listen_ip": "104.248.118.130",
|
||||||
"shell": {
|
"shell": {
|
||||||
"SHELL_BASH": "/usr/local/bin/bash",
|
"SHELL_BASH": "/usr/local/bin/bash",
|
||||||
"SHELL_KSH": "/bin/ksh"
|
"SHELL_KSH": "/bin/ksh"
|
||||||
|
Loading…
Reference in New Issue
Block a user