from flask import Flask
from flask_script import Manager
from flask_sqlalchemy import SQLAlchemy
from flask_cors import CORS
from flask import Blueprint, request, jsonify
from config import BaseConfig

# start debug mode
DEBUG = True

# config application
app = Flask(__name__)
app.config.from_object(BaseConfig)

CORS(app, resources={r'/*': {'origins': '*', 'supports_credentials': True, 'Access-Control-Allow-Origin': '*'}})

db = SQLAlchemy(app)
manager = Manager(app)

route_index = Blueprint('api', __name__)


@route_index.route("/")
def index():
    return "SWT"


app.register_blueprint(route_index, url_prefix="/")

50ee9159a2be01e0d70dc7efddf2c5250c9bcae6
<mask token>


@route_index.route('/')
def index():
    return 'SWT'


<mask token>

<mask token>
app.config.from_object(BaseConfig)
CORS(app, resources={'/*': {'origins': '*', 'supports_credentials': True,
    'Access-Control-Allow-Origin': '*'}})
<mask token>


@route_index.route('/')
def index():
    return 'SWT'


app.register_blueprint(route_index, url_prefix='/')

<mask token>
DEBUG = True
app = Flask(__name__)
app.config.from_object(BaseConfig)
CORS(app, resources={'/*': {'origins': '*', 'supports_credentials': True,
    'Access-Control-Allow-Origin': '*'}})
db = SQLAlchemy(app)
manager = Manager(app)
route_index = Blueprint('api', __name__)


@route_index.route('/')
def index():
    return 'SWT'


app.register_blueprint(route_index, url_prefix='/')

from flask import Flask
from flask_script import Manager
from flask_sqlalchemy import SQLAlchemy
from flask_cors import CORS
from flask import Blueprint, request, jsonify
from config import BaseConfig
DEBUG = True
app = Flask(__name__)
app.config.from_object(BaseConfig)
CORS(app, resources={'/*': {'origins': '*', 'supports_credentials': True,
    'Access-Control-Allow-Origin': '*'}})
db = SQLAlchemy(app)
manager = Manager(app)
route_index = Blueprint('api', __name__)


@route_index.route('/')
def index():
    return 'SWT'


app.register_blueprint(route_index, url_prefix='/')

from flask import Flask
from flask_script import Manager
from flask_sqlalchemy import SQLAlchemy
from flask_cors import CORS
from flask import Blueprint, request, jsonify
from config import BaseConfig

# start debug mode
DEBUG = True

# config application
app = Flask(__name__)
app.config.from_object(BaseConfig)

CORS(app, resources={r'/*': {'origins': '*', 'supports_credentials': True, 'Access-Control-Allow-Origin': '*'}})

db = SQLAlchemy(app)
manager = Manager(app)

route_index = Blueprint('api', __name__)


@route_index.route("/")
def index():
    return "SWT"


app.register_blueprint(route_index, url_prefix="/")
