def page_not_found(error): return send_from_memory(safe_join(app.config['STATIC_PATH'], 'error.html'))
def custom_static(filename): return send_from_memory(safe_join(app.config['STATIC_PATH'], filename))
def index(): return send_from_memory(safe_join(app.config['STATIC_PATH'], 'index.html'))