Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix CORS in demo.env (#1418)

Wouter Born67eb9eac6b43
diff --git a/.ci_cd/env/demo.env b/.ci_cd/env/demo.env
index 25d9ef67e..23e9fd994 100644
--- a/.ci_cd/env/demo.env
+++ b/.ci_cd/env/demo.env
@@ -1,3 +1,3 @@
OR_HOSTNAME=demo.openremote.app
OR_ADDITIONAL_HOSTNAMES=demo.openremote.io
-OR_WEBSERVER_ALLOWED_ORIGINS=docs.openremote.io
+OR_WEBSERVER_ALLOWED_ORIGINS=https://docs.openremote.io
diff --git a/profile/demo.yml b/profile/demo.yml
index c2c4b4368..06e35c383 100644
--- a/profile/demo.yml
+++ b/profile/demo.yml
@@ -103,6 +103,7 @@ services:
OR_SSL_PORT: ${OR_SSL_PORT:--1}
OR_HOSTNAME: ${OR_HOSTNAME:-localhost}
OR_ADDITIONAL_HOSTNAMES:
+ OR_WEBSERVER_ALLOWED_ORIGINS: ${OR_WEBSERVER_ALLOWED_ORIGINS:-}
OR_DEV_MODE: ${OR_DEV_MODE:-false}
# The following variables will configure the demo
OR_FORECAST_SOLAR_API_KEY: