mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 16:16:46 +00:00
Fix "/" Route
This commit is contained in:
parent
82775b4ff9
commit
f08891a73c
@ -141,7 +141,7 @@ public final class HttpServer {
|
||||
public static class DefaultRequestRouter implements Router {
|
||||
@Override public void applyRoutes(Express express, Javalin handle) {
|
||||
express.get("/", (request, response) -> {
|
||||
File file = new File(HTTP_STATIC_FILES.errorFile);
|
||||
File file = new File(HTTP_STATIC_FILES.indexFile);
|
||||
if(!file.exists())
|
||||
response.send("""
|
||||
<!DOCTYPE html>
|
||||
|
Loading…
Reference in New Issue
Block a user