Skip to content

Commit

Permalink
[#360] fix jar name with -all
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Mar 26, 2020
1 parent 953db77 commit 8d850be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public String getRoot(Context context) throws IOException {
String content;
if (context.env().classPath() && !index.toFile().isFile()) {
StringWriter writer = new StringWriter();
copy(getClass().getResourceAsStream("/" + Paths.get(context.env().appFolder(), INDEX_HTML).toString()), writer, Charset.defaultCharset());
copy(getClass().getResourceAsStream("/" + context.env().appFolder() + "/" + INDEX_HTML), writer, Charset.defaultCharset());
content = writer.toString();
} else {
content = new String(Files.readAllBytes(index), Charset.defaultCharset());
Expand Down

0 comments on commit 8d850be

Please sign in to comment.