Syntax
This commit is contained in:
+4
-3
@@ -291,7 +291,6 @@ function setupOIDC(oidcIssuer)
|
||||
);
|
||||
|
||||
passport.use('oidc', oidcStrategy);
|
||||
|
||||
}
|
||||
|
||||
async function setupAuth()
|
||||
@@ -426,18 +425,20 @@ async function runHttpsServer()
|
||||
{
|
||||
// http
|
||||
mainListener = http.createServer(app);
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
// https
|
||||
mainListener = spdy.createServer(tls, app);
|
||||
|
||||
// http
|
||||
const redirectListener = http.createServer(app);
|
||||
|
||||
redirectListener.listen(config.listeningRedirectPort);
|
||||
}
|
||||
|
||||
// https or http
|
||||
mainListener.listen(config.listeningPort);
|
||||
|
||||
}
|
||||
|
||||
function isPathAlreadyTaken(url)
|
||||
|
||||
Reference in New Issue
Block a user