mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added servergit, allqr redirects, fixed install linx
This commit is contained in:
parent
f0c158361e
commit
6a3593fa6e
4 changed files with 22 additions and 8 deletions
|
@ -98,12 +98,6 @@ app.post('/postfeedback', function (req, res) {
|
|||
res.end()
|
||||
})
|
||||
|
||||
app.get('/servergit', function (req, res) {
|
||||
res.redirect('https://gitlab.com/MrFry/mrfrys-node-server')
|
||||
res.end()
|
||||
logger.LogReq(req)
|
||||
})
|
||||
|
||||
function UploadFile (req, res, path, next) {
|
||||
var fstream
|
||||
req.pipe(req.busboy)
|
||||
|
@ -140,6 +134,13 @@ app.route('/badtestsender').post(function (req, res, next) {
|
|||
logger.LogReq(req)
|
||||
})
|
||||
|
||||
app.get('/allqr.txt', function (req, res) {
|
||||
res.set('Content-Type', 'text/plain')
|
||||
res.send(data.toString())
|
||||
res.end()
|
||||
logger.LogReq(req)
|
||||
})
|
||||
|
||||
// -------------------------------------------------------------------------------------------
|
||||
// API
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue