Skip to content

Commit 9f0231c

Browse files
committed
API always allow 127.0.0.1 and is hard coded
1 parent 59fa3bb commit 9f0231c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ fi
16461646

16471647
if [ "$api" = "yes" ]; then
16481648
echo "API='yes'" >> $HESTIA/conf/hestia.conf
1649-
echo "API_ALLOWED_IP='127.0.0.1'" >> $HESTIA/conf/hestia.conf
1649+
echo "API_ALLOWED_IP=''" >> $HESTIA/conf/hestia.conf
16501650
else
16511651
$HESTIA/bin/v-change-sys-api disable
16521652
fi

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ fi
16711671

16721672
if [ "$api" = "yes" ]; then
16731673
echo "API='yes'" >> $HESTIA/conf/hestia.conf
1674-
echo "API_ALLOWED_IP='127.0.0.1'" >> $HESTIA/conf/hestia.conf
1674+
echo "API_ALLOWED_IP=''" >> $HESTIA/conf/hestia.conf
16751675
else
16761676
$HESTIA/bin/v-change-sys-api disable
16771677
fi

0 commit comments

Comments
 (0)