Skip to content

Commit e87f22b

Browse files
authored
Merge pull request #4838 from tesilaaliset/fix/fix_relase_bugs
2 parents e9e56f1 + fade36f commit e87f22b

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

haproxy/common.cfg.pj2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ backend vmesst_h2
365365
server vmesst 127.0.0.1:2031 send-proxy-v2 tfo
366366

367367
{% for d in domains if d['internal_port_reality'] and not d['grpc'] %}
368+
{%set domain=d['domain']%}
369+
{%set port=d['internal_port_reality']%}
368370
backend reality_h2_{{port}}
369371
mode tcp
370372
server singbox 127.0.0.1:{{port}} send-proxy-v2

hiddify-panel/install.sh

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,15 @@ fi
2121

2222
pip uninstall -y flask-babelex >/dev/null 2>&1
2323

24-
if [ "${MODE}" == "install-docker" ];then
25-
rm -rf /opt/hiddify-manager/hiddify-panel/src
26-
mkdir -p /opt/hiddify-manager/hiddify-panel/src
27-
git clone --depth 1 --branch main https://github.com/hiddify/hiddifypanel.git /opt/hiddify-manager/hiddify-panel/src
28-
HIDDIFY_PANLE_SOURCE_DIR=/opt/hiddify-manager/hiddify-panel/src
29-
fi
24+
rm -rf /opt/hiddify-manager/hiddify-panel/src
25+
mkdir -p /opt/hiddify-manager/hiddify-panel/src
26+
git clone --depth 1 --branch main https://github.com/hiddify/hiddifypanel.git /opt/hiddify-manager/hiddify-panel/src
27+
HIDDIFY_PANLE_SOURCE_DIR=/opt/hiddify-manager/hiddify-panel/src
3028

3129
# install/build hiddifypanel package
32-
if [ -n "$HIDDIFY_PANLE_SOURCE_DIR" ]; then
33-
echo "NOTICE: building hiddifypanel package from source..."
34-
echo "NOTICE: the source dir $HIDDIFY_PANLE_SOURCE_DIR"
35-
/opt/hiddify-manager/.venv/bin/pip install -e "$HIDDIFY_PANLE_SOURCE_DIR"
36-
else
37-
echo "Installing hiddifypanel with the pip"
38-
python -c "import hiddifypanel" || pip install -U hiddifypanel
39-
fi
30+
echo "NOTICE: building hiddifypanel package from source..."
31+
echo "NOTICE: the source dir $HIDDIFY_PANLE_SOURCE_DIR"
32+
/opt/hiddify-manager/.venv/bin/pip install -e "$HIDDIFY_PANLE_SOURCE_DIR"
4033

4134

4235
ln -sf $(which uwsgi) /usr/local/bin/uwsgi >/dev/null 2>&1

0 commit comments

Comments
 (0)