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 ad81d47 + c39df1c commit a76c316Copy full SHA for a76c316
routes/index.js
@@ -1,3 +1,4 @@
1
module.exports = async (req, res) => {
2
- res.render('index', { basePath: req.baseUrl })
+ const basePath = req.proxyUrl || req.baseUrl
3
+ res.render('index', { basePath })
4
}
0 commit comments