mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-04 11:14:29 +08:00
Webconfig.
This commit is contained in:
parent
3106b3e94a
commit
bf3b082bdf
@ -2,6 +2,7 @@ package com.wisemapping;
|
||||
|
||||
import com.wisemapping.config.common.CommonConfig;
|
||||
import com.wisemapping.config.rest.RestAppConfig;
|
||||
import com.wisemapping.config.rest.WebConfig;
|
||||
import org.springframework.boot.WebApplicationType;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@ -12,7 +13,7 @@ public class Application {
|
||||
public static void main(String[] args) {
|
||||
new SpringApplicationBuilder()
|
||||
.parent(CommonConfig.class).web(WebApplicationType.NONE)
|
||||
.child(RestAppConfig.class).web(WebApplicationType.SERVLET)
|
||||
.child(RestAppConfig.class, WebConfig.class).web(WebApplicationType.SERVLET)
|
||||
// .sibling(MvcAppConfig.class).web(WebApplicationType.SERVLET)
|
||||
.run(args);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user