Skip to content

Commit

Permalink
access token validation and about us update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavesh-Parmar committed Jul 20, 2021
1 parent 23fc87c commit 809d782
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/geocode.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const geocode = (address, mapbox, callback) => {
request({ url, json: true}, (error, { body } = {})=> {
if(error)
callback("Unable to Connect...")
else if(body.message)
callback(body.message)
else if(body.features.length === 0)
callback("Something went Wrong...")
else{
Expand Down
2 changes: 2 additions & 0 deletions templates/views/about.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
{{>header}}
<p>This site was created and maintained by Bhavesh Parmar. It use data from mapbox.com and weatherstack.com</p>
<img class="portrait" src="/img/me.jpg">
<p>For more information you can visit my website</p>
<a href="https://bhavesh-parmar.github.io/">https://bhavesh-parmar.github.io/</a>
</div>

{{>footer}}
Expand Down

0 comments on commit 809d782

Please sign in to comment.