mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
24 lines
301 B
JavaScript
24 lines
301 B
JavaScript
import {
|
|
Constant
|
|
} from './_utils'
|
|
const {
|
|
ApiPrefix
|
|
} = Constant
|
|
|
|
const database = [
|
|
|
|
// DASHBOARD SECTION
|
|
{
|
|
id: '1',
|
|
icon: 'home',
|
|
name: 'Main',
|
|
route: '/main',
|
|
},
|
|
|
|
]
|
|
|
|
module.exports = {
|
|
[`GET ${ApiPrefix}/routes`](req, res) {
|
|
res.status(200).json(database)
|
|
},
|
|
} |