diff --git a/.firebase/hosting.YnVpbGQ.cache b/.firebase/hosting.YnVpbGQ.cache index ab877d5..b252c88 100644 --- a/.firebase/hosting.YnVpbGQ.cache +++ b/.firebase/hosting.YnVpbGQ.cache @@ -22,12 +22,12 @@ icons/13n.png,1661876850303,1f4adf754f8905a81679103d376060687653d503c4bb8244facf icons/50d.png,1661876850319,1b9684aa156ed370e2aace6a8ee1124efa715775376fc7712dc54918a2075f78 icons/50n.png,1661876850375,1b9684aa156ed370e2aace6a8ee1124efa715775376fc7712dc54918a2075f78 icons/unknown.png,1661876850415,e37624238d43bfbb3d7b305ac43adf59f90510f525d335b2e3b789269a177a11 -asset-manifest.json,1661933472122,5f6b1c7ca94173c0d1d62421922b925eb30c07c0fb4dad8756bc883207294df9 -index.html,1661933472122,f4f07b8757954c94e7408ad2beb46f701e877f1d316a840009f2041ca06e4a60 -static/css/main.46040d79.css.map,1661933472137,3b0a0e4c3c3749907df89786a0aba6f3789dcc98812627ce1a740cb7283c0438 -static/css/main.46040d79.css,1661933472137,b44d817e3d2ec19b175a65d29804496369d2e150b6645712b63ca9ffa833a27f -static/js/787.d9312eb8.chunk.js,1661933472137,63ac4a9ad9dca2a1cfd3987c2e831fd33fe5aedce6c9cd130dd4ccc92ffcecf4 -static/js/main.afef5e38.js.LICENSE.txt,1661933472137,8d61a7ccb21a3f5e542c78483253a9094ad45f54edba60cfcd9085f4a984bdb5 -static/js/787.d9312eb8.chunk.js.map,1661933472137,ed8b75bd97e45b13524e90049a5e48c473b5a7cf43c54db591ded36afb44949a -static/js/main.afef5e38.js,1661933472137,5c8d46ef53d9a80666f6172a0612a040681f59fd7a457006c7566ba10802d7a8 -static/js/main.afef5e38.js.map,1661933472137,0cf8970eeb00cba668da2dccb770bffa460946ea0451be9f640b2e7208065c67 +asset-manifest.json,1661953250057,d50dde71742a541e68770d45a46b8804fc68388933da0560c8f6da54b4d1bb4d +static/css/main.46040d79.css.map,1661953250057,3b0a0e4c3c3749907df89786a0aba6f3789dcc98812627ce1a740cb7283c0438 +static/css/main.46040d79.css,1661953250057,b44d817e3d2ec19b175a65d29804496369d2e150b6645712b63ca9ffa833a27f +index.html,1661953250057,96e322442eda16332f47817c611b66130ef6683855c2ad45e1f157749b3f9f7a +static/js/787.d9312eb8.chunk.js,1661953250057,63ac4a9ad9dca2a1cfd3987c2e831fd33fe5aedce6c9cd130dd4ccc92ffcecf4 +static/js/main.97642dcc.js.LICENSE.txt,1661953250057,8d61a7ccb21a3f5e542c78483253a9094ad45f54edba60cfcd9085f4a984bdb5 +static/js/787.d9312eb8.chunk.js.map,1661953250057,ed8b75bd97e45b13524e90049a5e48c473b5a7cf43c54db591ded36afb44949a +static/js/main.97642dcc.js,1661953250057,b1e2825385f29ef1a5ffc4e0e203e69ded8dd0ede3d34bd82802d879bc88f84c +static/js/main.97642dcc.js.map,1661953250057,7f3c0831be2f5ea675cfa7fc8cb7afd3895b870a9ce2d4df49105ea51d9eb02a diff --git a/public/favicon.ico b/public/favicon.ico index a11777c..38ab841 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html index aa069f2..2bf8cc3 100644 --- a/public/index.html +++ b/public/index.html @@ -24,7 +24,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + Weather App diff --git a/src/api.js b/src/api.js index 8a4ccf1..ef19650 100644 --- a/src/api.js +++ b/src/api.js @@ -1,7 +1,7 @@ export const cityApiOptions = { method: 'GET', headers: { - 'X-RapidAPI-Key': 'GEODB_CITY_API_KEY', + 'X-RapidAPI-Key': 'GEODB_API_KEY', //get from Rapid API 'X-RapidAPI-Host': 'wft-geo-db.p.rapidapi.com' } }; @@ -10,6 +10,6 @@ export const CITY_API_URL = "https://wft-geo-db.p.rapidapi.com/v1/geo" export const WEATHER_API_URL = "https://api.openweathermap.org/data/2.5" -export const WEATHER_API_KEY = "WEATHER_API_KEY" +export const WEATHER_API_KEY = "WEATHER_API_KEY" //get from "https://openweathermap.org/api"