Disable telemetry

This commit is contained in:
oldnapalm
2020-05-13 16:47:04 -03:00
committed by GitHub
parent c57d6d549c
commit e6bb0b24b1
+6
View File
@@ -212,6 +212,12 @@ def api_private_event_feed():
return '', 200
# Disable telemetry (shuts up some errors in log)
@app.route('/api/telemetry/config', methods=['GET'])
def api_telemetry_config():
return '{"isEnabled":false}'
@app.route('/api/profiles/me', methods=['GET'])
def api_profiles_me():
profile_dir = '%s/%s' % (STORAGE_DIR, selected_profile)