Skip to content

Commit

Permalink
document necessity of 127.0.0.1 over localhost
Browse files Browse the repository at this point in the history
this is because of CORS
  • Loading branch information
chennisden committed Jun 4, 2024
1 parent ed9e15c commit f22d27d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This is the code for our online store. This is a simple store for buying and sel

## Development

> [!IMPORTANT]
> You **MUST** use `127.0.0.1:3000` instead of `localhost:3000` when developing the website. This is because those URLs are considered as distinct for the purposes of CORS, and `store/settings/configs/local.yaml` is configured only to support `127.0.0.1:3000`.
To develop the application, start React and FastAPI in separate terminals:

### React
Expand Down

0 comments on commit f22d27d

Please sign in to comment.