Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit a37711b

Browse files
committed
.gitattributes test
1 parent 0a5e6b8 commit a37711b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/* linguist-vendored
1+
./* linguist-vendored
22
sakila-min.sql linguist-vendored=true

server/src/main/java/com/balinski/api_project/servlet/ActorServlet.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
public class ActorServlet extends HttpServlet {
1515
public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
16+
resp.setHeader("Content-Type", "application/json;charset=utf-8");
1617
PrintWriter writer = resp.getWriter();
1718
try {
1819
var actors = new DaoManager().getActorDao().getAll();

0 commit comments

Comments
 (0)