combined search css/js/templates are other files into a single structure

This commit is contained in:
Muneeb Ali
2017-04-04 18:34:04 -04:00
parent 9a860d6280
commit f0b81991bd
193 changed files with 0 additions and 77 deletions

28
api/__init__.py Normal file
View File

@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
"""
Onename API
Copyright 2014 Halfmoon Labs, Inc.
~~~~~
"""
from flask import Flask, Blueprint
from flask_https import RequireHTTPS
from flask_sslify import SSLify
# Create app
app = Flask(__name__)
app.config.from_object('api.settings')
if not (app.config.get('DEBUG')):
SSLify(app)
# Add in blueprints
from .auth import v1auth
blueprints = [v1auth]
for blueprint in blueprints:
app.register_blueprint(blueprint)