diff --git a/src/main/java/dev/plex/request/impl/SchematicEndpoint.java b/src/main/java/dev/plex/request/impl/SchematicEndpoint.java index d1c2e5e..7249462 100644 --- a/src/main/java/dev/plex/request/impl/SchematicEndpoint.java +++ b/src/main/java/dev/plex/request/impl/SchematicEndpoint.java @@ -13,7 +13,7 @@ import org.bukkit.Bukkit; public class SchematicEndpoint extends AbstractServlet { - @GetMapping(endpoint = "/api/schematics/download/") + @GetMapping(endpoint = "/api/download_schematic/") public String schematicIndex(HttpServletRequest request, HttpServletResponse response) { if (request.getPathInfo() == null || request.getPathInfo().equals("/")) diff --git a/src/main/resources/httpd/admins.html b/src/main/resources/httpd/admins.html index ff1e5ef..dbbec3c 100644 --- a/src/main/resources/httpd/admins.html +++ b/src/main/resources/httpd/admins.html @@ -34,8 +34,15 @@ - diff --git a/src/main/resources/httpd/indefbans.html b/src/main/resources/httpd/indefbans.html index aa00f5c..b82dbf7 100644 --- a/src/main/resources/httpd/indefbans.html +++ b/src/main/resources/httpd/indefbans.html @@ -34,8 +34,15 @@ - diff --git a/src/main/resources/httpd/index.html b/src/main/resources/httpd/index.html index 6437af6..be75ef6 100644 --- a/src/main/resources/httpd/index.html +++ b/src/main/resources/httpd/index.html @@ -34,8 +34,15 @@ - diff --git a/src/main/resources/httpd/punishments.html b/src/main/resources/httpd/punishments.html index 350f7d3..c373b71 100644 --- a/src/main/resources/httpd/punishments.html +++ b/src/main/resources/httpd/punishments.html @@ -34,8 +34,15 @@ - diff --git a/src/main/resources/httpd/punishments_error.html b/src/main/resources/httpd/punishments_error.html index 4497774..a7e51ca 100644 --- a/src/main/resources/httpd/punishments_error.html +++ b/src/main/resources/httpd/punishments_error.html @@ -34,8 +34,15 @@ - diff --git a/src/main/resources/httpd/punishments_good.html b/src/main/resources/httpd/punishments_good.html index b4f010c..faad4fb 100644 --- a/src/main/resources/httpd/punishments_good.html +++ b/src/main/resources/httpd/punishments_good.html @@ -33,9 +33,15 @@ - diff --git a/src/main/resources/httpd/schematic_index.html b/src/main/resources/httpd/schematic_index.html deleted file mode 100644 index 97ab858..0000000 --- a/src/main/resources/httpd/schematic_index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - Schematic Download - Plex HTTPD - - - -
-

Plex HTTPD

-
Welcome to the schematic page. Please select if you would like to download or upload a schematic.
-
- - -
-
- - \ No newline at end of file diff --git a/src/main/resources/httpd/schematic_list.html b/src/main/resources/httpd/schematic_list.html index 927c7ff..0b9cca1 100644 --- a/src/main/resources/httpd/schematic_list.html +++ b/src/main/resources/httpd/schematic_list.html @@ -33,9 +33,15 @@ -