mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 04:32:53 +08:00
Fix "/" Route
This commit is contained in:
parent
eb64b25f12
commit
c71842c9d0
@ -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