From d973cc4a38b9e0980b3db53749496fa4d90a3c39 Mon Sep 17 00:00:00 2001 From: Sean Morris Date: Mon, 29 Nov 2021 19:37:27 -0800 Subject: [PATCH] content_provider is now contentProvider in the query parameters --- _static/link_gen/link.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_static/link_gen/link.js b/_static/link_gen/link.js index a84fde92..fef4fa72 100644 --- a/_static/link_gen/link.js +++ b/_static/link_gen/link.js @@ -6,7 +6,7 @@ function generateRegularUrl(hubUrl, urlPath, repoUrl, branch, compressed, conten url.searchParams.set('repo', repoUrl); if(compressed) { - url.searchParams.set('content_provider', contentProvider); + url.searchParams.set('contentProvider', contentProvider); } if (urlPath) { url.searchParams.set('urlpath', urlPath); @@ -34,7 +34,7 @@ function generateCanvasUrl(hubUrl, urlPath, repoUrl, branch, compressed, content nextUrlParams.append('repo', repoUrl); if(compressed) { - nextUrlParams.append('content_provider', contentProvider); + nextUrlParams.append('contentProvider', contentProvider); } if (urlPath) { nextUrlParams.append('urlpath', urlPath); @@ -67,7 +67,7 @@ function generateBinderUrl(hubUrl, userName, envRepoName, envGitBranch, urlPath, nextUrlParams.append('repo', contentGitRepoUrl); if(compressed) { - nextUrlParams.append('content_provider', contentProvider); + nextUrlParams.append('contentProvider', contentProvider); } if (urlPath) { nextUrlParams.append('urlpath', urlPath);