From 4f0d99fcdab264d96288cb584f5ae76c41e77efa Mon Sep 17 00:00:00 2001 From: ReturnFI <151555003+ReturnFI@users.noreply.github.com> Date: Thu, 5 Sep 2024 20:17:29 +0000 Subject: [PATCH] Fix Environment File --- core/scripts/utils.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/scripts/utils.sh b/core/scripts/utils.sh index 2fdc256..b12672d 100644 --- a/core/scripts/utils.sh +++ b/core/scripts/utils.sh @@ -54,10 +54,10 @@ check_version() { load_hysteria2_env() { - if [ -f /etc/hysteria/hysteria2.env ]; then - export $(grep -v '^#' /etc/hysteria/hysteria2.env | xargs) + if [ -f /etc/hysteria/.configs.env ]; then + export $(grep -v '^#' /etc/hysteria/.configs.env| xargs) else - echo "Error: hysteria2.env file not found. Using default SNI 'bts.com'." + echo "Error: configs.env file not found. Using default SNI 'bts.com'." SNI="bts.com" fi } \ No newline at end of file