mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04:00
Move lib and test into src directory
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
241c418ea7
commit
fab2607e4d
98 changed files with 1 additions and 3 deletions
|
@ -1,18 +0,0 @@
|
|||
import { urlencodedParser } from './utils'
|
||||
import { History } from '../history'
|
||||
import { Router } from 'express'
|
||||
|
||||
const HistoryRouter = Router()
|
||||
|
||||
// get history
|
||||
HistoryRouter.get('/history', History.historyGet)
|
||||
// post history
|
||||
HistoryRouter.post('/history', urlencodedParser, History.historyPost)
|
||||
// post history by note id
|
||||
HistoryRouter.post('/history/:noteId', urlencodedParser, History.historyPost)
|
||||
// delete history
|
||||
HistoryRouter.delete('/history', History.historyDelete)
|
||||
// delete history by note id
|
||||
HistoryRouter.delete('/history/:noteId', History.historyDelete)
|
||||
|
||||
export { HistoryRouter }
|
Loading…
Add table
Add a link
Reference in a new issue