(help) Help file: configure ELS for CORS + remote work

This commit is contained in:
2020-04-12 19:28:21 +02:00
parent 95afad4003
commit 6e74f6aea5
2 changed files with 13 additions and 0 deletions

4
els-cors.yml Normal file
View 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
View 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