We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 307137f + 2fd6d1a commit 3f3ca66Copy full SHA for 3f3ca66
apps/OpenSignServer/index.js
@@ -160,7 +160,7 @@ app.use(express.json({ limit: '50mb' }));
160
app.use(express.urlencoded({ limit: '50mb', extended: true }));
161
app.use(function (req, res, next) {
162
req.headers['x-real-ip'] = getUserIP(req);
163
- const publicUrl = req?.protocol + '://' + req?.get('host');
+ const publicUrl = 'https://' + req?.get('host');
164
req.headers['public_url'] = publicUrl; // process.env.PUBLIC_URL
165
next();
166
});
0 commit comments