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:
parent
08c769b630
commit
d2e6ebae4f
8 changed files with 68 additions and 24 deletions
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue