From a4eaa8952a63bf622c0a01ef613e0fc49fa68479 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Fri, 12 Mar 2021 11:20:38 +0100 Subject: [PATCH] script: remove unnecessary cors domains from moonraker.conf template --- scripts/install_moonraker.sh | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/scripts/install_moonraker.sh b/scripts/install_moonraker.sh index 98f9d59..e5dd818 100755 --- a/scripts/install_moonraker.sh +++ b/scripts/install_moonraker.sh @@ -236,13 +236,9 @@ trusted_clients: ::1/128 FE80::/10 cors_domains: - http://*.local - http://my.mainsail.xyz - https://my.mainsail.xyz - http://app.fluidd.xyz - https://app.fluidd.xyz - http://$HOSTNAME - http://$HOSTNAME:* + *.local + *://my.mainsail.xyz + *://app.fluidd.xyz [octoprint_compat] @@ -289,14 +285,9 @@ trusted_clients: ::1/128 FE80::/10 cors_domains: - http://*.local - https://*.local - http://my.mainsail.xyz - https://my.mainsail.xyz - http://app.fluidd.xyz - https://app.fluidd.xyz - http://$HOSTNAME - http://$HOSTNAME:* + *.local + *://my.mainsail.xyz + *://app.fluidd.xyz [octoprint_compat]