Commit cab56c4a authored by ZWT's avatar ZWT

都删了

parent 017f7dd1
...@@ -4,7 +4,6 @@ import xstartup.base.XStartup; ...@@ -4,7 +4,6 @@ import xstartup.base.XStartup;
import xstartup.base.conf.XServerConf; import xstartup.base.conf.XServerConf;
import xstartup.boot.XStartupApplication; import xstartup.boot.XStartupApplication;
import xstartup.feature.cloud.XCloudAlibabaFeature; import xstartup.feature.cloud.XCloudAlibabaFeature;
import xstartup.feature.cors.XCorsFeature;
/** /**
* 网关模块启动程序 * 网关模块启动程序
...@@ -17,7 +16,6 @@ public class DeployPpsGatewayApplication { ...@@ -17,7 +16,6 @@ public class DeployPpsGatewayApplication {
XStartup startup = new XStartupApplication("pps"); XStartup startup = new XStartupApplication("pps");
startup.config(new XServerConf(22068).naming("pps-gateway")); startup.config(new XServerConf(22068).naming("pps-gateway"));
startup.enable(XCloudAlibabaFeature.class); startup.enable(XCloudAlibabaFeature.class);
startup.enable(XCorsFeature.class);
startup.run(args); startup.run(args);
} }
} }
...@@ -20,7 +20,6 @@ x.db.naming=@x.db.naming@ ...@@ -20,7 +20,6 @@ x.db.naming=@x.db.naming@
#cors #cors
x.cors.origin-pattern=* x.cors.origin-pattern=*
x.cors.exposed-headers=* x.cors.exposed-headers=*
spring.autoconfigure.exclude=*
#\u6CE8\u518C\u4E2D\u5FC3 #\u6CE8\u518C\u4E2D\u5FC3
x.cloud.discovery.server-addr=@x.cloud.discovery.server-addr@ x.cloud.discovery.server-addr=@x.cloud.discovery.server-addr@
x.cloud.discovery.namespace=@x.cloud.discovery.namespace@ x.cloud.discovery.namespace=@x.cloud.discovery.namespace@
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment