aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-20 11:41:56 +0300
committerGravatar Vitaly Takmazov2018-03-20 11:41:56 +0300
commit3a1a1cebfa258efc89da1eded19c75b0689be270 (patch)
treec30ab9eb6e17fbaf89975f9dd5f534ca25b08260 /juick-notifications
parentbe91c5f5771282f2798cb687f915b0df44eaa59e (diff)
push: fix configuration
Diffstat (limited to 'juick-notifications')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java
index 920e095a..cb921fe5 100644
--- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java
+++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java
@@ -7,6 +7,7 @@ import com.juick.server.configuration.BaseWebConfiguration;
import org.springframework.context.annotation.*;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
/**
* Created by aalexeev on 11/12/16.
@@ -16,8 +17,8 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc;
@EnableScheduling
@ComponentScan(basePackages = "com.juick.components.service")
@Import({ APNSConfiguration.class, MPNSConfiguration.class,
- GCMConfiguration.class, JuickServerWebsocketConfiguration.class})
-public class NotificationsAppConfiguration extends BaseWebConfiguration {
+ GCMConfiguration.class, JuickServerWebsocketConfiguration.class, BaseWebConfiguration.class})
+public class NotificationsAppConfiguration implements WebMvcConfigurer {
@Bean
public JuickServerComponent juickServerComponent() {