1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-25 16:19:44 +02:00

Page showing, page edit, move API to /api/ (#10)

This commit is contained in:
Peter Savchenko 2018-10-15 22:06:01 +03:00 committed by GitHub
parent ff09f695d0
commit 730eff7995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 316 additions and 133 deletions

View file

@ -3,8 +3,10 @@ const router = express.Router();
const home = require('./home');
const pages = require('./pages');
const api = require('./api');
router.use('/', home);
router.use('/', pages);
router.use('/api', api);
module.exports = router;