Move images.go from frontend to calls

This commit is contained in:
2024-08-30 16:06:19 +02:00
parent 2b2ab0d428
commit a33e7f9896
5 changed files with 28 additions and 30 deletions

View File

@ -46,7 +46,7 @@
var formData = new FormData();
formData.append('article-image', file);
fetch('/pic/upload', {
fetch('/image/upload', {
method: 'POST',
body: formData
})