def refresh()

in app.py [0:0]


def refresh():
    """
     Force refresh config using the API endpoint
    """
    result = "Config Refreshed" if appconfig.update_config(
        force=True) else "Nothing to refresh"
    return result