Skip to content

Commit

Permalink
fix: Edit @RequestMapping
Browse files Browse the repository at this point in the history
- 파비콘 요청 url이 오는 에러가 발생해서 @RequestMapping url 수정

issue: #6
  • Loading branch information
bong6981 committed Apr 26, 2021
1 parent 21645f8 commit 0e1fb9a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.List;

@RestController
@RequestMapping("/{sectionName:^.*(?!detail)}")
@RequestMapping("/{sectionName:main|soup|side}")
public class SectionController {

private final SectionService sectionService;
Expand All @@ -30,5 +30,4 @@ public ItemSummary sectionItem(@PathVariable("sectionName") String sectionName,
@PathVariable("itemId") Long itemId) {
return sectionService.itemSummary(sectionName, itemId);
}

}

0 comments on commit 0e1fb9a

Please sign in to comment.