You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from couchpotato.core.auth import requires_auth
|
|
|
|
from couchpotato.core.logger import CPLog
|
|
|
|
from flask.app import Flask
|
|
|
|
from flask.helpers import url_for
|
|
|
|
from flask.module import Module
|
|
|
|
from flask.templating import render_template
|
|
|
|
|
|
|
|
app = Flask(__name__)
|
|
|
|
log = CPLog(__name__)
|
|
|
|
web = Module(__name__, 'web')
|
|
|
|
|
|
|
|
|
|
|
|
@web.route('/')
|
|
|
|
@requires_auth
|
|
|
|
def index():
|
|
|
|
return render_template('index.html')
|