File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,17 @@ class GitHubFileBrowser extends Widget {
127127
128128 /**
129129 * The GitHub base URL
130- * Set by the settingsRegistry change hook
131130 */
132- baseUrl : string ;
131+ get baseUrl ( ) : string {
132+ return this . _baseUrl ;
133+ }
134+
135+ /**
136+ * The GitHub base URL is set by the settingsRegistry change hook
137+ */
138+ set baseUrl ( url : string ) {
139+ this . _baseUrl = url ;
140+ }
133141
134142 /**
135143 * React to a change in user.
@@ -251,6 +259,7 @@ class GitHubFileBrowser extends Widget {
251259
252260 private _browser : FileBrowser ;
253261 private _drive : GitHubDrive ;
262+ private _baseUrl : string ;
254263 private _errorPanel : GitHubErrorPanel | null ;
255264 private _openGitHubButton : ToolbarButton ;
256265 private _launchBinderButton : ToolbarButton ;
You can’t perform that action at this time.
0 commit comments