示例#1
0
def _get_render_data():
    return {
        'version':
        get_version(),
        'license_email':
        check_get_license_email(),
        'debug':
        DEBUG,
        'debug_sentry':
        DEBUG_SENTRY,
        'debug_posthog':
        DEBUG_POSTHOG,
        'frameless':
        FRAMELESS,
        'frozen':
        FROZEN,
        'is_app':
        IS_APP,
        'platform':
        PLATFORM,
        'session_token':
        SESSION_TOKEN,
        'website_url':
        WEBSITE_URL,
        'device_id':
        get_device_id(),
        'sentry_dsn':
        '' if DEACTIVATE_SENTRY else get_hidden_value('SENTRY_DSN'),
        'posthog_api_key':
        '' if DEACTIVATE_POSTHOG else get_hidden_value('POSTHOG_API_KEY'),
        'disable_error_logging':
        get_system_setting('disable_error_logging'),
        'disable_analytics':
        get_system_setting('disable_analytics'),
    }
示例#2
0
def _get_render_data():
    return {
        'version': get_version(),
        'license_email': check_get_license_email(),
        'frozen': FROZEN,
        'debug': DEBUG,
        'is_app': IS_APP,
        'frameless': FRAMELESS,
        'website_url': WEBSITE_URL,
    }
示例#3
0
def _get_render_data():
    return {
        'version': get_version(),
        'license_email': check_get_license_email(),
        'debug': DEBUG,
        'frameless': FRAMELESS,
        'frozen': FROZEN,
        'is_app': IS_APP,
        'platform': PLATFORM,
        'session_token': SESSION_TOKEN,
        'website_url': WEBSITE_URL,
    }