Example #1
0
def lib_static_proxy(path):
    """ send_static_file will guess the correct MIME type"""
    return app.send_static_file(os.path.join('lib', path))
Example #2
0
def img_static_proxy(path):
    # send_static_file will guess the correct MIME type
    return app.send_static_file(os.path.join('img', path))
Example #3
0
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)
Example #4
0
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))
Example #5
0
def root():
    return app.send_static_file("index.html")
Example #6
0
def img_static_proxy(path):
    # send_static_file will guess the correct MIME type
    return app.send_static_file(os.path.join('img', path))
Example #7
0
def lib_static_proxy(path):
    """ send_static_file will guess the correct MIME type"""
    return app.send_static_file(os.path.join('lib', path))
Example #8
0
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))
Example #9
0
def index():
    return app.send_static_file('index.html')