Skip to content

Commit

Permalink
Expose Location header in CORS common-workflow-language#189
Browse files Browse the repository at this point in the history
Also update README.md explaining how to get unit tests running
  • Loading branch information
coverbeck committed Feb 7, 2018
1 parent e06d1a0 commit 90f3e4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -90,6 +90,8 @@ $ mvn spring-boot:run

Alternatively, you can run the application from your IDE as a simple Java application by importing the Maven project.

You need to install [Graphviz](http://www.graphviz.org/) for all unit tests to pass.

You can create an executable JAR file by using:

mvn clean install
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/commonwl/view/WebConfig.java
Expand Up @@ -68,6 +68,6 @@ public void configureContentNegotiation(ContentNegotiationConfigurer configurer)

@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**"); // .setMaxAge(Long.MAX_VALUE)
registry.addMapping("/**").exposedHeaders("Location"); // .setMaxAge(Long.MAX_VALUE)
}
}

0 comments on commit 90f3e4c

Please sign in to comment.