refactor(api): rename /upload endpoint

Ensures consistency with the other dataset-based endpoints and follows the REST-API rules more cleanly.
This commit is contained in:
2026-03-09 20:55:12 +00:00
parent ca444e9cb0
commit 262a70dbf3
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ const UploadPage = () => {
setHasError(false);
setReturnMessage("");
const response = await axios.post(`${API_BASE_URL}/upload`, formData, {
const response = await axios.post(`${API_BASE_URL}/datasets/upload`, formData, {
headers: {
"Content-Type": "multipart/form-data",
},