@main.route('/autocomplete')
def search_autocomplete():
    query = request.args.get('q')
    suggest = requests.get('https://es-indieweb-search.jamesg.blog/suggest?q={}&pw={}'.format(query, config.ELASTICSEARCH_PASSWORD))
    return (jsonify(suggest.json()), 200)
@main.route('/autocomplete')
def search_autocomplete():
    query = request.args.get('q')
    suggest = requests.get('https://es-indieweb-search.jamesg.blog/suggest?q={}&pw={}'.format(query, config.ELASTICSEARCH_PASSWORD))
    return (jsonify(suggest.json()), 200)