Commit 79e18b45 authored by Olli Ala-Hakula's avatar Olli Ala-Hakula
Browse files

Merge branch 'Ongelmankorjaus' into 'main'

Update SiteGen.java

See merge request !1
parents 5ac8186a abd4a33a
Pipeline #45013 passed with stages
in 28 seconds
......@@ -18,7 +18,7 @@ class SiteGen {
"<h1>" + siteTitle + "</h1>" +
"<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" +
"</body>" +
"<html>";
"</html>";
public static void main(String args[]) throws Exception {
Files.createDirectory(Paths.get("public/"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment