forked from unit/ciclostile
12 lines
265 B
Python
12 lines
265 B
Python
|
import click
|
||
|
from flask import Flask, send_from_directory, render_template, request
|
||
|
from flask_httpauth import HTTPDigestAuth
|
||
|
|
||
|
from .api import api
|
||
|
|
||
|
|
||
|
app = Flask(__name__)
|
||
|
app.register_blueprint(api, url_prefix="/api")
|
||
|
|
||
|
app.config['SECRET_KEY'] = 'secret key here'
|