Graph update and little noe ui tweaks

This commit is contained in:
Max
2023-07-23 23:13:28 +00:00
parent d3acd62688
commit c61f0c0198
12 changed files with 1341 additions and 356 deletions

View File

@@ -65,5 +65,30 @@ router.post('/upload', upload.single('file'), function (req, res, next) {
})
//
// Push URL to attachments
//
// get push key
router.get('/getpushkey', function (req, res) {
Attachment.delete(userId, req.body.attachmentId)
.then( data => res.send(data) )
})
// generate new push key
router.post('/generatepushkey', function (req, res) {
})
// delete push key
router.post('/deletepushkey', function (req, res) {
})
// push url to attchments
router.get('/pushurl', function (req, res) {
})
module.exports = router