Change mapping to Rest

This commit is contained in:
redtea committed 2022-08-30 23:26:56 +03:00
1 parent 10a8502491
commit e46e304975
43 files changed
+597 -206

No files matched your search

@@ -10,7 +10,7 @@ import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder;
import site.easystartup.web.storage.service.StorageFileNotFoundException;
import site.easystartup.web.storage.domain.exception.StorageFileNotFoundException;
import site.easystartup.web.storage.service.StorageService;
import java.util.stream.Collectors;
@@ -1,4 +1,4 @@
package site.easystartup.web.storage.service;
package site.easystartup.web.storage.domain.exception;
public class StorageFileNotFoundException extends RuntimeException {
public StorageFileNotFoundException(String filename) {