Update patchlist handler

This commit is contained in:
Melledy
2025-12-03 22:44:12 -08:00
parent 9c87d74ad7
commit 211e012c42
2 changed files with 3 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ public class HttpServer {
// https://nova-static.stellasora.global/
getApp().get("/meta/serverlist.html", new MetaServerlistHandler(this));
getApp().get("/meta/win.html", new MetaWinHandler(this));
getApp().get("/meta/*.html", new MetaPatchListHandler(this));
}
private void addGameServerRoutes() {

View File

@@ -12,10 +12,10 @@ import lombok.AccessLevel;
import lombok.Getter;
@Getter(AccessLevel.PRIVATE)
public class MetaWinHandler implements Handler {
public class MetaPatchListHandler implements Handler {
private HttpServer server;
public MetaWinHandler(HttpServer server) {
public MetaPatchListHandler(HttpServer server) {
this.server = server;
}