diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/web/BaseServlet.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/web/BaseServlet.java b/src/org/traccar/web/BaseServlet.java index 972a1b8e7..9b6964623 100644 --- a/src/org/traccar/web/BaseServlet.java +++ b/src/org/traccar/web/BaseServlet.java @@ -41,6 +41,7 @@ public abstract class BaseServlet extends HttpServlet { try { resp.setContentType("application/json"); resp.setCharacterEncoding("UTF-8"); + resp.setHeader("Access-Control-Allow-Origin", "*"); if (!handle(command, req, resp)) { resp.sendError(HttpServletResponse.SC_BAD_REQUEST); } |