Esempio n. 1
0
def get_data():
    return app.send_static_file('data.json')
Esempio n. 2
0
def get_data():
    return app.send_static_file('scripts/data.json')
Esempio n. 3
0
def get_data():
    # use send_static_file function to send data in static directory
    return app.send_static_file('content/data.json')