mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2024-12-22 16:04:59 +00:00
Update CommandsEndpoint.java
This commit is contained in:
parent
c83f8f1d8e
commit
94528860f2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue