Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pirate weather doesnt allow for api requests from local host- 
to avoid cors errors, you have to deploy your own cors anywhere server to heroku
once heroku cli is installed and you have a heroku account:
    open new terminal and run these commands
        heroku login
        git clone https://github.com/Rob--W/cors-anywhere.git
        cd cors-anywhere/
        npm install
        heroku create
        git push heroku master
    this creates your own cors anywhere proxy
    you just need to replace the request url in app.js with the proxy url

About

Simple javascript based weather application using pirateweather api

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages