[update]: .gitignore file

This commit is contained in:
VivianDee
2025-03-21 16:26:58 +01:00
parent 2380d72d34
commit 43dc5bd835
46 changed files with 423 additions and 705 deletions
+5
View File
@@ -2,6 +2,7 @@ from flask import Flask
from flask_cors import CORS
from app.config import Config
from app.routes import api
from app.errors import method_not_allowed, unsupported_media_type
def create_app():
""" Factory function to create a Flask app instance """
@@ -16,4 +17,8 @@ def create_app():
# Register blueprints
app.register_blueprint(api)
# Error Handlers
app.register_error_handler(405, method_not_allowed)
app.register_error_handler(415, unsupported_media_type)
return app