mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
backend: drop and modify
This commit is contained in:
parent
17a929956c
commit
7513f79b93
7 changed files with 81 additions and 2 deletions
|
@ -2,11 +2,15 @@ const express = require('express');
|
|||
const post = require('./route/post');
|
||||
const get = require('./route/get');
|
||||
const list = require('./route/list');
|
||||
const drop = require('./route/drop');
|
||||
const patch = require('./route/patch');
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.post('/', post);
|
||||
router.get('/', get);
|
||||
router.patch('/', patch);
|
||||
router.delete('/', drop);
|
||||
router.get('/list', list);
|
||||
|
||||
module.exports = router;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue