From 1fa327651436605ce31ab4723dfeb73eaaf6960c Mon Sep 17 00:00:00 2001 From: Ted Lawless Date: Tue, 14 Sep 2021 12:00:07 -0400 Subject: [PATCH] Plugin updates. --- src/constellate-plugin/constellate_plugin/static/main.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/constellate-plugin/constellate_plugin/static/main.js b/src/constellate-plugin/constellate_plugin/static/main.js index 72966bca..ef5c8367 100644 --- a/src/constellate-plugin/constellate_plugin/static/main.js +++ b/src/constellate-plugin/constellate_plugin/static/main.js @@ -7,7 +7,7 @@ const config = { refreshTimeout: 1200000, // 20 minutes }, ConstellateApi: { - url: 'https://backend.tdm-pilot.org' + url: 'https://backend.constellate.org' } }; @@ -218,6 +218,11 @@ define([ refreshSession().then(async res => { userSession = await res.json(); + logEvent('binder-session-create', { + kernel: Jupyter.notebook.kernel.name, + notebook: Jupyter.notebook.notebook_name + }); + logEvent('notebook-session-create', { kernel: Jupyter.notebook.kernel.name, notebook: Jupyter.notebook.notebook_name