mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-12 20:34:36 +01:00
Update patchlist handler
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user