feat: cors origins env var
This commit is contained in:
1 parent
d953a66f22
commit
318fd0f53a
2 files changed
+9
-8
No files matched your search
@@ -18,10 +18,11 @@ TODO
|
||||
|
||||
### Environment variables
|
||||
|
||||
| Name | Type | Description | Comment |
|
||||
|-------------|--------|---------------------------------------|-----------------------------------------|
|
||||
| PORT | int | The port the API will use | required |
|
||||
| ENVIRONMENT | string | The environment the API is running in | required, `development` or `production` |
|
||||
| Name | Type | Description | Comment |
|
||||
|----------------------|--------|---------------------------------------|-----------------------------------------|
|
||||
| ENVIRONMENT | string | The environment the API is running in | required, `development` or `production` |
|
||||
| PORT | int | The port the API will use | required |
|
||||
| CORS_ALLOWED_ORIGINS | string | The allowed origins for CORS | required, semicolon separated list |
|
||||
|
||||
## API Usage
|
||||
|
||||
|
||||
Reference in new issue
Block a user