diff --git a/Frontend/src/components/formatter/XMLButtonFormatterComponent.vue b/Frontend/src/components/formatter/XMLButtonFormatterComponent.vue index 2274d3d..e185763 100644 --- a/Frontend/src/components/formatter/XMLButtonFormatterComponent.vue +++ b/Frontend/src/components/formatter/XMLButtonFormatterComponent.vue @@ -26,10 +26,10 @@ function prepareRequest():Request { } function prepareURL(): string { - var mode = "prettify" + var mode = "/java/prettify" if (props.isMinimizer) - mode = "minimize" - return document.location.protocol + "//" + document.location.hostname + "/libxml/" + mode + mode = "/libxml/minimize" + return document.location.protocol + "//" + document.location.hostname + mode } function prepareRequestBody():string {