File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
let sites = [];
13
13
if (! apiBaseUrl) apiBaseUrl = " https://api.github.com" ;
14
14
const userContentBaseUrl = apiBaseUrl .includes (" api.github.com" )
15
- ? ` https://raw.githubusercontent.com`
15
+ ? ` ${ config . githubUserContentBaseUrl || " https://raw.githubusercontent.com" } `
16
16
: apiBaseUrl;
17
17
const graphsBaseUrl = ` ${ userContentBaseUrl} /${ owner} /${ repo} /master/graphs` ;
18
18
let form = null ;
Original file line number Diff line number Diff line change 9
9
let { apiBaseUrl } = config[" status-website" ] || {};
10
10
if (! apiBaseUrl) apiBaseUrl = " https://api.github.com" ;
11
11
const userContentBaseUrl = apiBaseUrl .includes (" api.github.com" )
12
- ? ` https://raw.githubusercontent.com`
12
+ ? ` ${ config . githubUserContentBaseUrl || " https://raw.githubusercontent.com" } `
13
13
: apiBaseUrl;
14
14
const owner = config .owner ;
15
15
const repo = config .repo ;
You can’t perform that action at this time.
0 commit comments