13 lines
315 B
Text
13 lines
315 B
Text
const express = require('express');
|
|
const config = require('../api_v1/config');
|
|
const router = express.Router();
|
|
|
|
router.get('/', (req, res) => {
|
|
res.json({
|
|
baseUrl: config.BASE_URL,
|
|
pathFull: config.PATH_FULL,
|
|
galleryRefreshSeconds: config.GALLERY_REFRESH_SECONDS
|
|
});
|
|
});
|
|
|
|
module.exports = router;
|