def lib_static_proxy(path): """ send_static_file will guess the correct MIME type""" return app.send_static_file(os.path.join('lib', path))
def img_static_proxy(path): # send_static_file will guess the correct MIME type return app.send_static_file(os.path.join('img', path))
def send_text_file(file_name): """Send your static text file.""" file_dot_text = file_name + ".txt" return app.send_static_file(file_dot_text)
def css_static_proxy(path): """ send_static_file will guess the correct MIME type""" print os.path.join('css', path) return app.send_static_file(os.path.join('css', path))
def root(): return app.send_static_file("index.html")
def index(): return app.send_static_file('index.html')