12 lines
301 B
JavaScript
12 lines
301 B
JavaScript
const express = require('express');
|
|
|
|
const plantsRouter = require('./plants/getPlants');
|
|
const calendarRouter = require('./plants_calendar/index');
|
|
|
|
const router = require('express').Router();
|
|
|
|
module.exports = router;
|
|
|
|
router.use('/plants',plantsRouter)
|
|
router.use('/plants_calendar',calendarRouter)
|