[allnet] Fix host header

This commit is contained in:
samnyan
2020-01-27 13:59:43 +08:00
parent ae5c61ac5e
commit 44c41a3778
3 changed files with 5 additions and 5 deletions

View File

@@ -80,9 +80,9 @@ public class AllNetController {
private String switchHost(String gameId) {
switch (gameId) {
case "SDDF":
return "http://" + HOST + ":" + PORT + "/";
return HOST + ":" + PORT + "/";
default:
return "http://" + HOST + ":" + PORT + "/";
return HOST;
}
}