Skip to content

Commit

Permalink
Update x-ui-pro.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW4Fun authored Oct 22, 2024
1 parent 62aa8bc commit 4c6376a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-ui-pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ UPDATE_XUIDB(){
if [[ -f $XUIDB ]]; then
sqlite3 "$XUIDB" << EOF
DELETE FROM "settings" WHERE "key" IN ("webPort", "webCertFile", "webKeyFile", "webBasePath");
INSERT INTO "settings" ("key", "value") VALUES ("webPort", ${PORT}),("webCertFile", ''),("webKeyFile", ''),("webBasePath", '${RNDSTR}');
INSERT INTO "settings" ("key", "value") VALUES ("webPort", ${PORT}),("webCertFile", ''),("webKeyFile", ''),("webBasePath", '/${RNDSTR}/');
EOF
else
msg_err "x-ui.db file not exist! Maybe x-ui isn't installed." && exit 1;
Expand Down

0 comments on commit 4c6376a

Please sign in to comment.