Skip to content

Commit

Permalink
content_provider is now contentProvider in the query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-morris committed Nov 30, 2021
1 parent 64b39a3 commit d973cc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _static/link_gen/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d973cc4

Please sign in to comment.