mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-13 04:45:02 +01:00
Update patchlist handler
This commit is contained in:
@@ -170,7 +170,7 @@ public class HttpServer {
|
|||||||
|
|
||||||
// https://nova-static.stellasora.global/
|
// https://nova-static.stellasora.global/
|
||||||
getApp().get("/meta/serverlist.html", new MetaServerlistHandler(this));
|
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() {
|
private void addGameServerRoutes() {
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ import lombok.AccessLevel;
|
|||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
||||||
@Getter(AccessLevel.PRIVATE)
|
@Getter(AccessLevel.PRIVATE)
|
||||||
public class MetaWinHandler implements Handler {
|
public class MetaPatchListHandler implements Handler {
|
||||||
private HttpServer server;
|
private HttpServer server;
|
||||||
|
|
||||||
public MetaWinHandler(HttpServer server) {
|
public MetaPatchListHandler(HttpServer server) {
|
||||||
this.server = server;
|
this.server = server;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user