Skip to content

Commit d973cc4

Browse files
committed
content_provider is now contentProvider in the query parameters
1 parent 64b39a3 commit d973cc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_static/link_gen/link.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function generateRegularUrl(hubUrl, urlPath, repoUrl, branch, compressed, conten
66

77
url.searchParams.set('repo', repoUrl);
88
if(compressed) {
9-
url.searchParams.set('content_provider', contentProvider);
9+
url.searchParams.set('contentProvider', contentProvider);
1010
}
1111
if (urlPath) {
1212
url.searchParams.set('urlpath', urlPath);
@@ -34,7 +34,7 @@ function generateCanvasUrl(hubUrl, urlPath, repoUrl, branch, compressed, content
3434

3535
nextUrlParams.append('repo', repoUrl);
3636
if(compressed) {
37-
nextUrlParams.append('content_provider', contentProvider);
37+
nextUrlParams.append('contentProvider', contentProvider);
3838
}
3939
if (urlPath) {
4040
nextUrlParams.append('urlpath', urlPath);
@@ -67,7 +67,7 @@ function generateBinderUrl(hubUrl, userName, envRepoName, envGitBranch, urlPath,
6767
nextUrlParams.append('repo', contentGitRepoUrl);
6868

6969
if(compressed) {
70-
nextUrlParams.append('content_provider', contentProvider);
70+
nextUrlParams.append('contentProvider', contentProvider);
7171
}
7272
if (urlPath) {
7373
nextUrlParams.append('urlpath', urlPath);

0 commit comments

Comments
 (0)