mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
added cors to readme
This commit is contained in:
@@ -87,6 +87,7 @@ Community maintained fork of the
|
||||
- [`pump` (Pump Monitoring)](#pump-pump-monitoring)
|
||||
- [`openaps` (OpenAPS)](#openaps-openaps)
|
||||
- [`loop` (Loop)](#loop-loop)
|
||||
- [`cors` (CORS)](#cors)
|
||||
- [Extended Settings](#extended-settings)
|
||||
- [Pushover](#pushover)
|
||||
- [IFTTT Maker](#ifttt-maker)
|
||||
@@ -400,6 +401,9 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs.htm
|
||||
* `LOOP_URGENT` (`60`) - The number of minutes since the last loop that needs to be exceeded before an urgent alarm is triggered
|
||||
* Add `loop` to `SHOW_FORECAST` to show forecasted BG.
|
||||
|
||||
##### `cors` (CORS)
|
||||
Enabled [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) so other websites can make request to your Nightscout site, uses these extended settings:
|
||||
* `CORS_ALLOW_ORIGIN` (`*`) - The list of sites that are allow to make requests
|
||||
|
||||
#### Extended Settings
|
||||
Some plugins support additional configuration using extra environment variables. These are prefixed with the name of the plugin and a `_`. For example setting `MYPLUGIN_EXAMPLE_VALUE=1234` would make `extendedSettings.exampleValue` available to the `MYPLUGIN` plugin.
|
||||
|
||||
Reference in New Issue
Block a user