mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
backend: auth checks
This commit is contained in:
parent
5025a43dbd
commit
c456f938b1
6 changed files with 59 additions and 29 deletions
|
@ -1,10 +1,12 @@
|
|||
const express = require('express');
|
||||
const createGuest = require('./auth/guest');
|
||||
const listUsers = require('./auth/list');
|
||||
const guest = require('./auth/guest');
|
||||
const list = require('./auth/list');
|
||||
const check = require('./auth/check');
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.get('/', listUsers);
|
||||
router.get('/guest', createGuest);
|
||||
router.get('/', check);
|
||||
router.get('/list', list);
|
||||
router.get('/guest', guest);
|
||||
|
||||
module.exports = router;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue