Fix Github base url again

Fix #1243.
This commit is contained in:
Paul Melnikow
2017-11-02 10:26:06 -04:00
committed by Paul Melnikow
parent 7ca2e97155
commit 4d22799962

View File

@@ -38,7 +38,7 @@ function cancelAutosaving() {
}
function setRoutes(server) {
const baseUrl = process.env.BASE_URL || 'https://shields.io';
const baseUrl = process.env.BASE_URL || 'https://img.shields.io';
server.route(/^\/github-auth$/, function(data, match, end, ask) {
if (!(serverSecrets && serverSecrets.gh_client_id)) {