Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
fix bugs (#102)
Browse files Browse the repository at this point in the history
* [bug] fix xtls worng domain

* [bug] fix vless tcp headerType and path

* upgrade x-ui version

* add log to default config
  • Loading branch information
hossinasaadi committed Nov 21, 2022
1 parent 8c88644 commit 0f58d59
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.2
0.5.3
2 changes: 2 additions & 0 deletions web/assets/js/model/xray.js
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,7 @@ class Inbound extends XrayCommonClass {
params.set("type", this.stream.network);
if (this.xtls) {
params.set("security", "xtls");
address = this.stream.tls.server;

This comment has been minimized.

Copy link
@mory

mory Nov 22, 2022

ip limit is not working now with xtls

} else {
params.set("security", this.stream.security);
}
Expand All @@ -988,6 +989,7 @@ class Inbound extends XrayCommonClass {
const host = request.headers[index].value;
params.set("host", host);
}
params.set("headerType", 'http');
}
break;
case "kcp":
Expand Down
5 changes: 5 additions & 0 deletions web/service/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"log": {
"loglevel": "warning",
"access": "./access.log"
},

"api": {
"services": [
"HandlerService",
Expand Down

0 comments on commit 0f58d59

Please sign in to comment.