aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/API.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-04-03 21:40:51 +0300
committerGravatar Vitaly Takmazov2020-04-03 21:40:51 +0300
commit1b93e5b16ee5bc7253f3b06639fb9e9abb46acd0 (patch)
tree6c9606b5ce3cdf3740802c91f889c6b66925cf1d /src/main/java/com/juick/API.java
parentaf1970a767b96893c6f46edb6632ec9abf6b3933 (diff)
Extract sape code into ControllerAdvice
Diffstat (limited to 'src/main/java/com/juick/API.java')
-rw-r--r--src/main/java/com/juick/API.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/API.java b/src/main/java/com/juick/API.java
index fdfc4977..dbe00ad9 100644
--- a/src/main/java/com/juick/API.java
+++ b/src/main/java/com/juick/API.java
@@ -25,7 +25,7 @@ import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@EnableAutoConfiguration(exclude = { MailSenderAutoConfiguration.class })
-@ComponentScan(basePackages = {"com.juick.server", "com.juick.service"})
+@ComponentScan(basePackages = {"com.juick.server", "com.juick.service", "com.juick.www"})
public class API {
public static void main(String[] args) {
SpringApplication.run(API.class, args);