We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c260d86 commit b5e852fCopy full SHA for b5e852f
view-and-share/script.js
@@ -62,7 +62,7 @@ function showLoginMessage() {
62
// following the APP GUIDELINES: https://api.pryv.com/guides/app-guidelines/
63
const urlParams = new URLSearchParams(window.location.search);
64
const apiEndpoint = urlParams.get('pryvApiEndpoint');
65
-const serviceInfoUrl = urlParams.get('pryvServiceInfoURL') || 'https://reg.pryv.me/service/info';
+const serviceInfoUrl = Pryv.Browser.serviceInfoFromUrl() || 'https://reg.pryv.me/service/info';
66
67
var service = null; // will be initialized after setupAuth;
68
var username = null; // will be inialized after AUTHORIZED auth State is received
0 commit comments