(help) Help file: configure ELS for CORS + remote work
This commit is contained in:
4
els-cors.yml
Normal file
4
els-cors.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
http.cors.enabled: true
|
||||||
|
http.cors.allow-origin: "*"
|
||||||
|
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
|
||||||
|
http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type, Content-Length
|
||||||
9
remote-work.txt
Normal file
9
remote-work.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ELS Config :
|
||||||
|
# For remote working on this machine
|
||||||
|
network.host: 0.0.0.0
|
||||||
|
discovery.seed_hosts: []
|
||||||
|
discovery.type: single-node
|
||||||
|
|
||||||
|
# ----------------------------
|
||||||
|
# To launch dashboard:
|
||||||
|
ng serve --port 4200 --host 0.0.0.0
|
||||||
Reference in New Issue
Block a user