Added gallery database and refactored src-manager
This commit is contained in:
13
src-manager/api/index.js
Normal file
13
src-manager/api/index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import express from 'express';
|
||||
|
||||
import newsAPI from './news.js';
|
||||
import newsListAPI from './news-list.js';
|
||||
import galleryImageAPI from './gallery-image.js';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.use('/news', newsAPI);
|
||||
router.use('/news-list', newsListAPI);
|
||||
router.use('/gallery-image', galleryImageAPI);
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user