Skip to content

Commit 8c99a9d

Browse files
committed
Changed query parameter provider to content_provider
This syncs the changes made in nbgitpuller app
1 parent 4616f6b commit 8c99a9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_static/link_gen/link.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function generateRegularUrl(hubUrl, urlPath, repoUrl, branch, compressed, source
77
url.searchParams.set('repo', repoUrl);
88

99
if(compressed) {
10-
url.searchParams.set('provider', source);
10+
url.searchParams.set('content_provider', source);
1111
}
1212

1313
if (urlPath) {
@@ -37,7 +37,7 @@ function generateCanvasUrl(hubUrl, urlPath, repoUrl, branch, compressed, source)
3737
nextUrlParams.append('repo', repoUrl);
3838

3939
if(compressed) {
40-
nextUrlParams.append('provider', source);
40+
nextUrlParams.append('content_provider', source);
4141
}
4242

4343
if (urlPath) {
@@ -71,7 +71,7 @@ function generateBinderUrl(hubUrl, userName, repoName, branch, urlPath,
7171
nextUrlParams.append('repo', contentRepoUrl);
7272

7373
if(compressed) {
74-
nextUrlParams.append('provider', source);
74+
nextUrlParams.append('content_provider', source);
7575
}
7676

7777
if (urlPath) {

0 commit comments

Comments
 (0)