Update CommandsEndpoint.java

This commit is contained in:
Telesphoreo 2023-12-13 21:28:54 -06:00 committed by GitHub
parent c83f8f1d8e
commit 94528860f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ public class CommandsEndpoint extends AbstractServlet
private final StringBuilder list = new StringBuilder(); private final StringBuilder list = new StringBuilder();
private boolean loadedCommands = false; private boolean loadedCommands = false;
@GetMapping(endpoint = "/commands/") @GetMapping(endpoint = "/api/commands/")
public String getCommands(HttpServletRequest request, HttpServletResponse response) public String getCommands(HttpServletRequest request, HttpServletResponse response)
{ {
if (!loadedCommands) if (!loadedCommands)