Skip to content

Commit

Permalink
allowlist
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Apr 8, 2024
1 parent 53b126b commit b37b1fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Datasette plugin for configuring CORS headers, based on https://github.com/simonw/asgi-cors

You can use this plugin to allow JavaScript running on a whitelisted set of domains to make `fetch()` calls to the JSON API provided by your Datasette instance.
You can use this plugin to allow JavaScript running on a allowlisted set of domains to make `fetch()` calls to the JSON API provided by your Datasette instance.

## Installation

Expand All @@ -17,7 +17,7 @@ You can use this plugin to allow JavaScript running on a whitelisted set of doma

You need to add some configuration to your Datasette `metadata.json` file for this plugin to take effect.

To whitelist specific domains, use this:
To allowlist specific domains, use this:

```json
{
Expand All @@ -29,7 +29,7 @@ To whitelist specific domains, use this:
}
```

You can also whitelist patterns like this:
You can also allowlist patterns like this:

```json
{
Expand Down

0 comments on commit b37b1fe

Please sign in to comment.