Skip to content

Commit 838d6f8

Browse files
authored
Merge pull request #33 from ciatph/dev
update readme
2 parents 8e8aebc + 0941597 commit 838d6f8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ A basic web app client in the **/client** directory will show basic API usage an
4242
- > **NOTE:** Take note to make sure that the value starts and ends with a double-quote on WINDOWS OS localhost. Some systems may or may not require the double-quotes (i.e., Ubuntu running on heroku).
4343
- `ALLOWED_ORIGINS`
4444
- IP/domain origins in comma-separated values that are allowed to access the API
45+
- Include `http://localhost:3000` by default to allow CORS access to the `/client` app.
4546
- `EMAIL_WHITELIST`
4647
- Comma-separated email addresses linked to Firebase Auth UserRecords that are not allowed to be deleted or updated (write-protected)
4748

@@ -82,6 +83,7 @@ A basic web app client in the **/client** directory will show basic API usage an
8283
```
8384
7. Use the CRUD API endpoints to create/update/delete or view Firebase Auth users using Postman, curl, or other http clients.
8485
- Try signing in these users to the `/client` app.
86+
- > **NOTE:** Comment out the `cors` options line `app.use(cors(corsOptions))` on **/server/src/index.js** when testing on Postman and other http clients other than the `/client` app.
8587
8688

8789
## Available Scripts - server

0 commit comments

Comments
 (0)