aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/API.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-04-04 01:15:01 +0300
committerGravatar Vitaly Takmazov2020-04-04 01:15:01 +0300
commita608baeed738894433aacfa041e2617f60ce959f (patch)
tree1e0de7056417ff0833ae3d4600de9fec6eb81631 /src/main/java/com/juick/API.java
parent7a2f89266c8f6337e4e81a2fd8488e0f80f4f9bd (diff)
Initialize all components from configuration
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 dbe00ad9..608bd78e 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", "com.juick.www"})
+@ComponentScan(basePackages = {"com.juick.config", "com.juick.service", "com.juick.www"})
public class API {
public static void main(String[] args) {
SpringApplication.run(API.class, args);