Skip to content

Commit

Permalink
Set webUI module media type to text/javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
Enet4 committed Nov 6, 2023
1 parent 5ec3653 commit 0c46b68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se

String process = req.getParameter("process");

resp.setContentType("application/javascript");
resp.setContentType("text/javascript");
boolean doProcess = process == null || Boolean.parseBoolean(process);

WebUIPlugin plugin = PluginController.getInstance().getWebUIPlugin(name);
Expand Down

0 comments on commit 0c46b68

Please sign in to comment.