mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Add docs for handler.allowed-origins
This commit is contained in:
parent
1cbc626c1c
commit
364bbfcf2c
1 changed files with 12 additions and 0 deletions
|
|
@ -59,6 +59,18 @@ The config file is in the [toml format](https://github.com/toml-lang/toml) and h
|
|||
bind = localhost:10101
|
||||
```
|
||||
|
||||
#### CORS (Cross-Origin Resource Sharing) Allowed Origins
|
||||
|
||||
* Description: List of allowed origin URIs for CORS
|
||||
* Flag: `--handler.allowed-origins="https://myapp.com,https://myapp.org"`
|
||||
* Env: `PILOSA_HANDLER_ALLOWED_ORIGINS="https://myapp.com,https://myapp.org"`
|
||||
* Config:
|
||||
|
||||
```toml
|
||||
[handler]
|
||||
allowed-origins = ["https://myapp.com", "https://myapp.org"]
|
||||
```
|
||||
|
||||
#### Data Dir
|
||||
|
||||
* Description: Directory to store Pilosa data files.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue