mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2024-11-21 11:15:01 +00:00
Update CommandsEndpoint.java
This commit is contained in:
parent
c83f8f1d8e
commit
94528860f2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user