You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
425 B
16 lines
425 B
const express = require('express');
|
|
const product = require('../components/products/network');
|
|
const firmware = require('../components/firmwares/network');
|
|
const device = require('../components/devices/network')
|
|
|
|
|
|
const routes = function(server) {
|
|
server.use('/faniota/api/products', product)
|
|
server.use('/faniota/api/firmwares', firmware)
|
|
server.use('/faniota/api/devices', device)
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = routes;
|