Remove Mangum
This commit is contained in:
+1
-3
@@ -49,6 +49,4 @@ def lambda_handler(event, context):
|
|||||||
def lambda_handler_upgrade_db(event, context):
|
def lambda_handler_upgrade_db(event, context):
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
upgrade()
|
upgrade()
|
||||||
return {"statusCode": 200, "body": "Database upgraded successfully"}
|
return {"statusCode": 200, "body": "Database upgraded successfully"}
|
||||||
|
|
||||||
handler = Mangum(app)
|
|
||||||
Reference in New Issue
Block a user