Skip to content

Commit f19279e

Browse files
committed
Implement URL config
1 parent 3238d7a commit f19279e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
YR_TEXT_FORECAST_URL: process.env.YR_AREA_URL || 'https://api.met.no/weatherapi/textforecast/2.0',
3+
YR_FORECAST_URL: process.env.YR_FORECAST_URL || 'https://api.met.no/weatherapi/locationforecast/2.0/.json',
4+
YR_NOWCAST_URL: process.env.YR_NOW_URL || 'https://api.met.no/weatherapi/nowcast/0.9/.json'
5+
}

0 commit comments

Comments
 (0)