Skip to content
Snippets Groups Projects
Commit ba1db180 authored by Abel Egri's avatar Abel Egri
Browse files

Merge branch 'korjaus' into 'main'

SiteGen.java korjattu

See merge request !1
parents 555e336d 82bd4da5
No related branches found
No related tags found
1 merge request!1SiteGen.java korjattu
Pipeline #44911 passed
...@@ -18,7 +18,7 @@ class SiteGen { ...@@ -18,7 +18,7 @@ class SiteGen {
"<h1>" + siteTitle + "</h1>" + "<h1>" + siteTitle + "</h1>" +
"<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" + "<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" +
"</body>" + "</body>" +
"<html>"; "</html>";
public static void main(String args[]) throws Exception { public static void main(String args[]) throws Exception {
Files.createDirectory(Paths.get("public/")); Files.createDirectory(Paths.get("public/"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment