fix(game): 修改 FC 地址源的协议和端口

- 将协议从 https 改为 http
- 将端口从 443 改为80
- 更新了配置键名,从 NG_API_BASE_URL改为 FC_API_BASE_URL
main-cf
shi 2025-03-25 10:33:33 +08:00
parent 3853150e9d
commit 8edbda429e
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ public class MyFCAddressSource implements AddressSource {
@Override
public ForestAddress getAddress(ForestRequest request) {
String apiBaseUrl = configService.selectConfigByKey(Constants.NG_API_BASE_URL);
return new ForestAddress("https",apiBaseUrl, 443,"");
String apiBaseUrl = configService.selectConfigByKey(Constants.FC_API_BASE_URL);
return new ForestAddress("http",apiBaseUrl, 80,"");
}
}