Skip to content

Commit

Permalink
added icons endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomcv committed Jul 20, 2020
1 parent 663842d commit 9b72afd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export const OPEN_WEATHER_API_KEY = process.env.REACT_APP_API_KEY;

export const OPEN_WEATHER_API_ENDPOINT = 'https://api.openweathermap.org/data/2.5/weather';

export const OPEN_WEATHER_ICONS_ENDPOINT = 'http://openweathermap.org/img/wn/';

export const LOCATION_MAP: Record<Location, string> = {
lisbon: 'lisbon,pt',
newyork: 'new+york,us',
Expand Down

0 comments on commit 9b72afd

Please sign in to comment.