Skip to content

Commit

Permalink
fix: favicon were not used and routing included files by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
notdryft committed Oct 19, 2022
1 parent f9df468 commit a75e539
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public String login() {
return "login";
}

@GetMapping("/{slug}")
@GetMapping("/{slug:[a-z-+]}")
public String page(@PathVariable String slug, Model model) {
Page page = pageRepo.findBySlug(slug);

Expand Down
Binary file removed src/main/resources/favicon.ico
Binary file not shown.

0 comments on commit a75e539

Please sign in to comment.