mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
backend: route save / restore
This commit is contained in:
parent
032821329b
commit
d932fcb287
17 changed files with 163 additions and 43 deletions
10
backend/routes/route.js
Normal file
10
backend/routes/route.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const express = require('express');
|
||||
const post = require('./route/post');
|
||||
const get = require('./route/get');
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.post('/', post);
|
||||
router.get('/', get);
|
||||
|
||||
module.exports = router;
|
Loading…
Add table
Add a link
Reference in a new issue