Commits

Stephen McKamey  committed 28e7d4d

adding another example header

  • Participants
  • Parent commits 2c4ba84

Comments (0)

Files changed (2)

File duel-mvc-archetype/src/main/resources/archetype-resources/src/main/java/aspects/CustomResponseHeaders.java

 	@Override
 	public void onResultRendering(ResultFilterContext context) {
 		response.addHeader("X-UA-Compatible", "IE=edge,chrome=1");
+//		response.addHeader("X-Frame-Options", "sameorigin");
 	}
 
 	@Override

File mvcapp/src/main/java/com/example/mvcapp/aspects/CustomResponseHeaders.java

 	@Override
 	public void onResultRendering(ResultFilterContext context) {
 		response.addHeader("X-UA-Compatible", "IE=edge,chrome=1");
+//		response.addHeader("X-Frame-Options", "sameorigin");
 	}
 
 	@Override