Skip to content
Snippets Groups Projects
Commit ebb31213 authored by Tiago Brito's avatar Tiago Brito
Browse files

Added CORS to brand.py

parent 94002ee4
No related branches found
No related tags found
No related merge requests found
from flask import Blueprint, jsonify, request
from .database import db_connection
from flask_cors import CORS
from .database import db_connection
brand_bp = Blueprint('brand', __name__)
CORS(brand_bp)
@brand_bp.route('/')
def api_index():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment