mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-17 12:34:29 +05:00
fix: added one more cors domain and changed ip-range for local network
This commit is contained in:
@@ -249,7 +249,7 @@ MOONRAKERCONF
|
|||||||
|
|
||||||
create_multi_moonraker_conf(){
|
create_multi_moonraker_conf(){
|
||||||
HOSTNAME=$(hostname -I | cut -d" " -f1)
|
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
|
/bin/sh -c "cat > $MOONRAKER_CONF_LOC/printer_$INSTANCE/moonraker.conf" << MOONRAKERCONF
|
||||||
[server]
|
[server]
|
||||||
@@ -269,6 +269,7 @@ trusted_clients:
|
|||||||
FE80::/10
|
FE80::/10
|
||||||
cors_domains:
|
cors_domains:
|
||||||
http://*.local
|
http://*.local
|
||||||
|
https://*.local
|
||||||
http://my.mainsail.xyz
|
http://my.mainsail.xyz
|
||||||
https://my.mainsail.xyz
|
https://my.mainsail.xyz
|
||||||
http://app.fluidd.xyz
|
http://app.fluidd.xyz
|
||||||
|
|||||||
Reference in New Issue
Block a user