Fix paths

This commit is contained in:
Steven Tracey 2023-11-22 13:12:59 -06:00
parent e1bc89c4e7
commit 6b12525d62
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import java.net.http.HttpResponse;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
public class CheckRoute implements Route { public class CheckRoute implements Route {
// Route: "/api/check/:link" // Route: "/rickrollprot/check/:link"
@Override @Override
public Object handle(Request req, Response res) throws Exception { public Object handle(Request req, Response res) throws Exception {
boolean isRickRoll = false; boolean isRickRoll = false;

View File

@ -6,6 +6,6 @@ public class Server {
public static void main(String[] args) { public static void main(String[] args) {
port(8080); port(8080);
get("/api/check/:link", new CheckRoute()); get("/rickrollprot/check/:link", new CheckRoute());
} }
} }