forked from MinecraftUtilities/Backend
fix preview route path
This commit is contained in:
parent
92fe2b28e3
commit
17803410bd
@ -57,7 +57,7 @@ public class ServerController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@GetMapping(value = "/preview/{platform}/{hostname}", produces = MediaType.IMAGE_PNG_VALUE)
|
@GetMapping(value = "/{platform}/preview/{hostname}", produces = MediaType.IMAGE_PNG_VALUE)
|
||||||
public ResponseEntity<?> getServerPreview(
|
public ResponseEntity<?> getServerPreview(
|
||||||
@Parameter(description = "The platform of the server", example = "java") @PathVariable String platform,
|
@Parameter(description = "The platform of the server", example = "java") @PathVariable String platform,
|
||||||
@Parameter(description = "The hostname and port of the server", example = "aetheria.cc") @PathVariable String hostname,
|
@Parameter(description = "The hostname and port of the server", example = "aetheria.cc") @PathVariable String hostname,
|
||||||
|
Loading…
Reference in New Issue
Block a user