Ejemplo n.º 1
0
def modules(path):
    return app.send_static_file(os.path.join('modules', path))
Ejemplo n.º 2
0
def styles(path):
    return app.send_static_file(os.path.join('styles', path))
Ejemplo n.º 3
0
def views(path):
    return app.send_static_file(os.path.join('views', path))
Ejemplo n.º 4
0
def images(path):
    return app.send_static_file(os.path.join('images', path))
Ejemplo n.º 5
0
def components(path):
    return app.send_static_file(os.path.join('bower_components', path))
Ejemplo n.º 6
0
def robots():
    return app.send_static_file('robots.txt')
Ejemplo n.º 7
0
def not_found():
    return app.send_static_file('404.html')
Ejemplo n.º 8
0
def favicon():
    return app.send_static_file('favicon.ico')
Ejemplo n.º 9
0
def index():
    response = app.send_static_file('index.html')
    response.set_cookie(app.config['XSRF_COOKIE_NAME'],
                        authnz.get_csrf_token())
    return response