@app.route('/<password_key>', methods=['GET'])
def preview_password(password_key):
    password_key = url_unquote_plus(password_key)
    if (not password_exists(password_key)):
        abort(404)
    return render_template('preview.html')
@app.route('/<password_key>', methods=['GET'])
def preview_password(password_key):
    password_key = url_unquote_plus(password_key)
    if (not password_exists(password_key)):
        abort(404)
    return render_template('preview.html')