mirror of
https://github.com/sasjs/server.git
synced 2026-01-15 09:50:06 +00:00
chore: README.md updated
This commit is contained in:
20
README.md
20
README.md
@@ -48,11 +48,21 @@ When launching the app, it will make use of specific environment variables. Thes
|
|||||||
Example contents of a `.env` file:
|
Example contents of a `.env` file:
|
||||||
|
|
||||||
```
|
```
|
||||||
MODE=desktop # options: [desktop|server] default: `desktop`
|
# options: [desktop|server] default: `desktop`
|
||||||
CORS=disable # options: [disable|enable] default: `disable` for `server` & `enable` for `desktop`
|
MODE=desktop
|
||||||
WHITELIST= # options: <http://localhost:3000 https://abc.com ...> space separated urls
|
|
||||||
PROTOCOL=http # options: [http|https] default: http
|
# options: [disable|enable] default: `disable` for `server` & `enable` for `desktop`
|
||||||
PORT=5000 # default: 5000
|
CORS=disable
|
||||||
|
|
||||||
|
# options: <http://localhost:3000 https://abc.com ...> space separated urls
|
||||||
|
WHITELIST=
|
||||||
|
|
||||||
|
# options: [http|https] default: http
|
||||||
|
PROTOCOL=http
|
||||||
|
|
||||||
|
# default: 5000
|
||||||
|
PORT=5000
|
||||||
|
|
||||||
|
|
||||||
# optional
|
# optional
|
||||||
# for MODE: `desktop`, prompts user
|
# for MODE: `desktop`, prompts user
|
||||||
|
|||||||
Reference in New Issue
Block a user