From 6e74f6aea561881689469064ac85a9e49765637d Mon Sep 17 00:00:00 2001 From: "Maxence G. de Montauzan" Date: Sun, 12 Apr 2020 19:28:21 +0200 Subject: [PATCH] (help) Help file: configure ELS for CORS + remote work --- els-cors.yml | 4 ++++ remote-work.txt | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 els-cors.yml create mode 100644 remote-work.txt diff --git a/els-cors.yml b/els-cors.yml new file mode 100644 index 0000000..3486aaf --- /dev/null +++ b/els-cors.yml @@ -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 diff --git a/remote-work.txt b/remote-work.txt new file mode 100644 index 0000000..5001e96 --- /dev/null +++ b/remote-work.txt @@ -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