Example #1
0
def sitemap():
    return generate_sitemap(app)
def sitemap():
    if ENV == "development":
        return generate_sitemap(app)
    return send_from_directory(static_file_dir, 'index.html')
Example #3
0
def sitemap():
    if DEBUG:
        return generate_sitemap(app)

    return send_from_directory(static_file_dir, 'index.html')