add mods and plugins to server response
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m31s

This commit is contained in:
Lee
2024-04-10 13:24:56 +01:00
parent 28cd7f192d
commit 63a3587586
12 changed files with 82 additions and 24 deletions

View File

@ -1,6 +1,7 @@
package cc.fascinated;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import lombok.SneakyThrows;
import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
@ -16,7 +17,9 @@ import java.util.Objects;
@SpringBootApplication
public class Main {
public static final Gson GSON = new Gson();
public static final Gson GSON = new GsonBuilder()
.setDateFormat("MM-dd-yyyy HH:mm:ss")
.create();
public static final HttpClient HTTP_CLIENT = HttpClient.newHttpClient();
@SneakyThrows