1.1 --- a/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/BaseHTTPLauncher.java Mon Sep 09 06:08:00 2013 +0200
1.2 +++ b/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/BaseHTTPLauncher.java Mon Sep 09 17:34:30 2013 +0200
1.3 @@ -125,7 +125,7 @@
1.4 }
1.5 }
1.6
1.7 - void showDirectory(File dir, String startpage) throws IOException {
1.8 + void showDirectory(File dir, String startpage, boolean addClasses) throws IOException {
1.9 if (!startpage.startsWith("/")) {
1.10 startpage = "/" + startpage;
1.11 }
1.12 @@ -134,7 +134,7 @@
1.13 if (last >= 0) {
1.14 prefix = startpage.substring(0, last);
1.15 }
1.16 - HttpServer s = initServer(dir.getPath(), false, prefix);
1.17 + HttpServer s = initServer(dir.getPath(), addClasses, prefix);
1.18 try {
1.19 launchServerAndBrwsr(s, startpage);
1.20 } catch (Exception ex) {