You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by GitBox <gi...@apache.org> on 2019/06/04 19:30:08 UTC

[GitHub] [metamodel-membrane] kaspersorensen commented on a change in pull request #22: Add support for CORS

kaspersorensen commented on a change in pull request #22: Add support for CORS
URL: https://github.com/apache/metamodel-membrane/pull/22#discussion_r290460161
 
 

 ##########
 File path: undertow/src/main/java/org/apache/metamodel/membrane/server/WebServer.java
 ##########
 @@ -85,7 +88,16 @@ public static void startServer(int port) throws Exception {
         final DeploymentManager manager = Servlets.defaultContainer().addDeployment(deployment);
         manager.deploy();
 
-        final Undertow server = Undertow.builder().addHttpListener(port, "0.0.0.0").setHandler(manager.start()).build();
+        HttpHandler handler;
 
 Review comment:
   Should be final

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services