liubao68 commented on issue #53:
URL: 
https://github.com/apache/servicecomb-samples/issues/53#issuecomment-657194723


   例子采用的是在 edge-service 提供静态页面服务, 使用了 vert.x 提供的 http server, 
这个服务器指定路径需要配置项,不支持将静态资源打包到 jar 包中, 有些不方便,并且 windows, linux配置不一样。
   
   为了简单, 我修改了下 porter-spring-boot, 静态页面采用 spring boot tomcat 托管, 网关通过 
CommonHttpEdgeDispatcher 转发请求, 这样静态页面可以作为一个独立到微服务打包为jar包运行, 就可以减少错误。 参考: 
https://github.com/apache/servicecomb-samples/pull/55  
   
   porter-spring-boot最新代码已经合入。 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to