1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-04 11:13:36 +00:00

Fix ws relay on dc4

This commit is contained in:
世界 2021-04-11 01:08:12 +08:00
parent 10decf6b77
commit f7dbc0df85
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
3 changed files with 3 additions and 2 deletions

View File

@ -3619,7 +3619,7 @@ public class AndroidUtilities {
detail = LocaleController.getString("UseProxyAddress", R.string.UseProxyAddress);
} else if (a == 1) {
text = info.bean.getTls() ? "Y" : "N";
detail = LocaleController.getString("UseProxyPort", R.string.VmessTls);
detail = LocaleController.getString("VmessTls", R.string.VmessTls);
} else {
text = LocaleController.getString("Checking", R.string.Checking);
detail = LocaleController.getString("Checking", R.string.Checking);

View File

@ -4273,7 +4273,7 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
} else if (reason == 3) {
builder.setTitle(LocaleController.getString("Proxy", R.string.Proxy));
if (args.length > 1) {
builder.setMessage(LocaleController.getString("WsNoDC4", R.string.WsNoDC4));
// builder.setMessage(LocaleController.getString("WsNoDC4", R.string.WsNoDC4));
} else {
builder.setMessage(LocaleController.getString("UseProxyTelegramError", R.string.UseProxyTelegramError));
}

View File

@ -30,6 +30,7 @@ public class Tcp2wsServer extends Thread {
mapper.put("95.161.76.100", 2);
mapper.put("149.154.175.100", 3);
mapper.put("149.154.167.91", 4);
mapper.put("149.154.167.92", 4);
mapper.put("149.154.171.5", 5);
mapper.put("2001:b28:f23d:f001:0000:0000:0000:000a", 1);
mapper.put("2001:67c:4e8:f002:0000:0000:0000:000a", 2);