From 4652e5c177c4ebfc87d8785e21b21c326da16d54 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 28 Jan 2021 18:02:21 +0100 Subject: [PATCH] fix: added one more cors domain and changed ip-range for local network --- scripts/install_moonraker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_moonraker.sh b/scripts/install_moonraker.sh index ea7c491..0ab0058 100755 --- a/scripts/install_moonraker.sh +++ b/scripts/install_moonraker.sh @@ -249,7 +249,7 @@ MOONRAKERCONF create_multi_moonraker_conf(){ HOSTNAME=$(hostname -I | cut -d" " -f1) - LOCAL_NETWORK="$(hostname -I | cut -d" " -f1 | cut -d"." -f1-3).0/24" + LOCAL_NETWORK="$(hostname -I | cut -d" " -f1 | cut -d"." -f1-3).0/16" /bin/sh -c "cat > $MOONRAKER_CONF_LOC/printer_$INSTANCE/moonraker.conf" << MOONRAKERCONF [server] @@ -269,6 +269,7 @@ trusted_clients: FE80::/10 cors_domains: http://*.local + https://*.local http://my.mainsail.xyz https://my.mainsail.xyz http://app.fluidd.xyz