1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-24 13:39:35 +02:00

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;