WeatherWidget temp unit. WeatherSettings update on change

This commit is contained in:
unknown
2021-06-07 12:17:10 +02:00
parent 08c769b630
commit d2e6ebae4f
8 changed files with 68 additions and 24 deletions

View File

@@ -2,11 +2,16 @@ const express = require('express');
const router = express.Router();
const {
getWeather
getWeather, updateWeather
} = require('../controllers/weather');
router
.route('')
.route('/')
.get(getWeather);
router
.route('/update')
.get(updateWeather);
module.exports = router;