diff --git a/application.py b/emergelope.py similarity index 90% rename from application.py rename to emergelope.py index f9dba3e..783141f 100644 --- a/application.py +++ b/emergelope.py @@ -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(','): diff --git a/web.3.4.config b/web.3.4.config index 32b781c..0e0f5f0 100644 --- a/web.3.4.config +++ b/web.3.4.config @@ -1,6 +1,6 @@ - +