Skip to content
Snippets Groups Projects
Unverified Commit 081fe8f0 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

fix typo

parent fce863ee
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ const _ = (async () => {
const HOST_PATHNAME = process.env.HOST_PATHNAME || ''
for (const route of vipRoutes) {
app.get(route, (req, res) => res.redirect(`${HOST_PATHNAME}/go/${route}`))
app.get(`/${route}`, (req, res) => res.redirect(`${HOST_PATHNAME}/go/${route}`))
}
})()
......@@ -234,4 +234,4 @@ app.use('/plugins', jsonMiddleware, pluginRouter)
const catchError = require('./catchError')
app.use(catchError)
module.exports = app
\ No newline at end of file
module.exports = app
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment