Skip to content

Commit

Permalink
Update README.md (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
computerscienceiscool authored Sep 4, 2024
1 parent 6dce741 commit 35ae0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Check [routes.md](routes.md) for a generated overview of the provided API routes

The server is configured to serve a Progressive Web App (PWA) client from _./public_ folder (this repo only serves an example index.html, see below for a demo PWA client to put here). In this case enabling CORS is not required, because the client is served from the same host as the api.

If you want to access the api from a client that is serverd from a different host, including e.g. a development live reloading server with below demo client, you must enable CORS on the server first by setting environment variable _ENABLE_CORS=true_ on the server to allow api connections from clients serverd by other hosts.
If you want to access the api from a client that is served from a different host, including e.g. a development live reloading server with below demo client, you must enable CORS on the server first by setting environment variable _ENABLE_CORS=true_ on the server to allow api connections from clients served by other hosts.

#### Demo client application

Expand Down

0 comments on commit 35ae0f3

Please sign in to comment.