Take down the redirect endpoint too

parent 9f74274a
Pipeline #71368084 failed with stage
in 1 minute and 11 seconds
......@@ -292,6 +292,8 @@ app.get(
app.get(
'/:code',
async (req, res, next) => {
return res.send('Site has been taken down due to spam.')
// firstly, see if we need to knock the last '+' off
let codeOrPage = 'code'
let code = req.params.code
......
Markdown is supported
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