Skip to content

Commit

Permalink
removed /build/js/ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
nhnb committed Dec 17, 2023
1 parent cc0bbc6 commit d02ea29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/marauroa/server/net/web/WebServletForStaticContent.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ private void sendFile(HttpServletRequest request, HttpServletResponse response,
if (name.startsWith("/srcjs/")) {
name = name.substring(6);
}
if (name.startsWith("/build/js/")) {
name = name.substring(9);
}

InputStream is = null;
OutputStream os = null;
Expand Down

0 comments on commit d02ea29

Please sign in to comment.