multy-stub/server/routers/epja-2024-1/ecliptica/index.js

13 lines
331 B
JavaScript
Raw Normal View History

2024-10-12 23:03:52 +03:00
const express = require('express');
const cors = require('cors');
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)