th action

This commit is contained in:
Anthony Stirling
2024-06-06 21:24:41 +01:00
parent fd4c75279f
commit d36a59442f
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
<span class="material-symbols-rounded tool-header-icon organize">crop</span>
<span class="tool-header-text" th:text="#{crop.header}"></span>
</div>
<form id="cropForm" action="/api/v1/general/crop" method="post" enctype="multipart/form-data">
<form id="cropForm" th:action="@{/api/v1/general/crop}" method="post" enctype="multipart/form-data">
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multiple=false, accept='application/pdf')}"></div>
<input id="x" type="hidden" name="x">
<input id="y" type="hidden" name="y">