Skip to content

Commit

Permalink
fix default address of inbound in link alireza0#656
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Nov 29, 2023
1 parent b69f0cf commit 02053fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/assets/js/model/xray.js
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ class Inbound extends XrayCommonClass {
genAllLinks(remark='', client){
let result = [];
let email = client ? client.email : '';
let addr = this.listen;
let addr = !ObjectUtil.isEmpty(this.listen) && this.listen !== "0.0.0.0" ? this.listen : location.hostname;
let port = this.port
if(ObjectUtil.isArrEmpty(this.stream.externalProxy)){
let r = [remark, email].filter(x => x.length > 0).join('-');
Expand Down

0 comments on commit 02053fe

Please sign in to comment.