diff --git a/dispatch.yaml b/dispatch.yaml index 4db0f92..f18ba92 100644 --- a/dispatch.yaml +++ b/dispatch.yaml @@ -1,9 +1,11 @@ dispatch: # Version 3 stageing - - url: "v3.bigcannonproject.org/" + - url: "v3.bigcannonproject.org/*" service: stageing # Default service - - url: "*.bigcannonproject.org/" + - url: "v2.bigcannonproject.org/*" service: default - - url: "bigcannonproject.org/" + - url: "bigcannonproject.org/*" + service: default + - url: "www.bigcannonproject.org/*" service: default \ No newline at end of file diff --git a/main.py b/main.py index 10d22ae..c1ae04c 100644 --- a/main.py +++ b/main.py @@ -27,14 +27,6 @@ import logging from google.cloud import ndb -try: - import googleclouddebugger - googleclouddebugger.enable( - breakpoint_enable_canary=True - ) -except ImportError: - pass - firebase_admin.initialize_app() client = ndb.Client() @@ -53,6 +45,5 @@ # the "static" directory. See: # http://flask.pocoo.org/docs/1.0/quickstart/#static-files. Once deployed, # App Engine itself will serve those files as configured in app.yaml. - if 'WINGDB_ACTIVE' in os.environ: - app.debug = False - app.run(host='0.0.0.0', port=8000) + app.debug = False + app.run(host='0.0.0.0', port=8000) diff --git a/requirements.txt b/requirements.txt index 5af77c5..488b94a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Flask +Flask==2.2.5 googlemaps Jinja2 simplejson