A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
770 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. package org.ros.chatto;
  2. import java.sql.SQLException;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
  6. import org.springframework.context.annotation.ComponentScan;
  7. import org.springframework.context.annotation.Configuration;
  8. import org.springframework.context.annotation.Profile;
  9. @SpringBootApplication
  10. public class ChattoApplication extends SpringBootServletInitializer {
  11. public static void main(String[] args) throws SQLException {
  12. SpringApplication.run(ChattoApplication.class, args);
  13. }
  14. @Configuration
  15. @Profile("development")
  16. @ComponentScan(lazyInit = true)
  17. static class LocalConfig {
  18. }
  19. }