Fix https redirect
This commit is contained in:
1 parent
5071282d40
commit
62165ea597
3 files changed
+17430
-1
No files matched your search
+1
-1
@@ -361,7 +361,7 @@ async function runHttpsServer()
|
||||
|
||||
app.all('*', async (req, res, next) =>
|
||||
{
|
||||
if (req.secure)
|
||||
if (req.secure || config.httpOnly )
|
||||
{
|
||||
const ltiURL = new URL(`${req.protocol }://${ req.get('host') }${req.originalUrl}`);
|
||||
|
||||
|
||||
Reference in new issue
Block a user