Change some names

This commit is contained in:
Fergal Moran
2018-09-18 02:35:06 +01:00
parent 06a296410c
commit 07a3b6df81
2 changed files with 9 additions and 8 deletions

View File

@@ -11,8 +11,13 @@ to_numbers = os.environ['NUMBER_LIST']
from_number = os.environ['FROM_NUMBER']
@app.route('/debuggler')
def debuggler():
@app.route('/')
def home():
return 'EmerGELOPE'
@app.route('/debug')
def debug():
return jsonify(
{
'account_sid': account_sid,
@@ -25,11 +30,7 @@ def debuggler():
@app.route('/3c9d6880-107b-4c03-8356-2778b7bd8209')
def catch_all():
"""
initiate cluster fuck!!
"""
def initiate_cluster_fuck():
client = Client(account_sid, auth_token)
sids = []
for number in to_numbers.split(','):

View File

@@ -1,6 +1,6 @@
<configuration>
<appSettings>
<add key="WSGI_ALT_VIRTUALENV_HANDLER" value="main.app" />
<add key="WSGI_ALT_VIRTUALENV_HANDLER" value="emergelope.app" />
<add key="WSGI_ALT_VIRTUALENV_ACTIVATE_THIS"
value="D:\home\site\wwwroot\env\Scripts\python.exe" />
<add key="pythonpath" value="%SystemDrive%\home\site\wwwroot" />