Skip to content

Commit

Permalink
修复已知问题。Fixes known issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Winnie0408 committed Oct 25, 2023
1 parent 75ed593 commit 7668c2c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -750,9 +750,9 @@ private void saveStatisticDocker(HttpSession session, int saveCount) {

String url;
if (IN_DOCKER)
url = "http://localhost:8082/statistic/save";
else
url = "https://saltconv.hwinzniej.top:46000/statistic/save";
else
url = "http://localhost:8082/statistic/save";
try {
CloseableHttpClient httpClient = HttpClientBuilder.create().build();
HttpPost httpPost = new HttpPost(url);
Expand Down Expand Up @@ -794,9 +794,9 @@ private void saveUsageDocker(String sessionId, String type) {
JSONObject jsonObject = new JSONObject(result);
String url;
if (IN_DOCKER)
url = "http://localhost:8082/statistic/usage";
else
url = "https://saltconv.hwinzniej.top:46000/statistic/usage";
else
url = "http://localhost:8082/statistic/usage";
try {
CloseableHttpClient httpClient = HttpClientBuilder.create().build();
HttpPost httpPost = new HttpPost(url);
Expand Down

0 comments on commit 7668c2c

Please sign in to comment.