This commit is contained in:
CHIEFSOFT\ameye
2025-02-05 13:37:28 -05:00
parent f43c475216
commit 34823b745a
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -11,7 +11,10 @@ from flask import (
send_from_directory,
request,
)
from flask_cors import CORS, cross_origin
app = Flask(__name__)
cors = CORS(app) # allow CORS for all domains on all routes.
SWAGGER_URL = '/api/docs' # URL for exposing Swagger UI (without trailing '/')
API_URL = 'http://petstore.swagger.io/v2/swagger.json' # Our API url (can of course be a local resource)
+2 -1
View File
@@ -14,4 +14,5 @@ flask-socketio
Flask-Mail
pycountry
flask-swagger-ui
names
names
flask-cors