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 | |
---|
1 | package com.tourMate;
|
---|
2 |
|
---|
3 | import org.springframework.boot.builder.SpringApplicationBuilder;
|
---|
4 | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
---|
5 | import org.springframework.context.annotation.Configuration;
|
---|
6 | import org.springframework.web.servlet.config.annotation.CorsRegistry;
|
---|
7 | import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
---|
8 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
---|
9 |
|
---|
10 | public 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.