This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
The following commit(s) were added to refs/heads/develop by this push:
new 88523cb Removing CORS headers
88523cb is described below
commit 88523cbfb41cb50d95bd1e92c8aec50051ee9369
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Mon Jul 26 11:57:45 2021 -0400
Removing CORS headers
---
.../main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
b/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
index ed07a23..18fca15 100644
---
a/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
+++
b/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
@@ -113,8 +113,6 @@ public class HttpServerHandler extends
SimpleChannelInboundHandler<FullHttpReque
response.headers().set(HttpHeaderNames.CONNECTION,
HttpHeaderValues.KEEP_ALIVE);
}
-
response.headers().set(HttpHeaderNames.ACCESS_CONTROL_ALLOW_ORIGIN, "*");
-
// Write the initial line and the header.
ctx.write(response);