source: src/main/java/com/tourMate/ServletInitializer.java@ 07f4e8b

Last change on this file since 07f4e8b was e6c2521, checked in by darsov2 <62809499+darsov2@…>, 6 months ago

images upload/download impl, other fixes

  • Property mode set to 100644
File size: 683 bytes
Line 
1package com.tourMate;
2
3import org.springframework.boot.builder.SpringApplicationBuilder;
4import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
5import org.springframework.context.annotation.Configuration;
6import org.springframework.web.servlet.config.annotation.CorsRegistry;
7import org.springframework.web.servlet.config.annotation.EnableWebMvc;
8import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
9
10public class ServletInitializer extends SpringBootServletInitializer {
11
12 @Override
13 protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
14 return application.sources(TourMateApplication.class);
15 }
16
17}
18
Note: See TracBrowser for help on using the repository browser.