Skip to content

Commit

Permalink
Added CORS issue note to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairya0907 committed Jul 19, 2021
1 parent aac67ba commit 15d17fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ This is an example of how to list things you need to use the software and how to
yarn web
```

4. Opens browser on http://localhost:3000/

**Note:** To avoid CORS issue while using Algorithmia, go to ```node_modules\algorithmia\lib``` and open file ```algorithm.js``` and change the line
```js
algorithmia.com/v1/algo/demo/Hello
```
<p align="center">to</p>

```js
algorithmia.com/v1/web/algo/demo/Hello <- CORS-enabled route
```
* Refer to [https://github.com/algorithmiaio/algorithmia-nodejs/issues/12](https://github.com/algorithmiaio/algorithmia-nodejs/issues/12) for more information.
<!-- ROADMAP -->
## Roadmap

Expand Down

0 comments on commit 15d17fa

Please sign in to comment.