Made usage of StaticContent less convoluted.
[jsvc.git] / samples / bsh / src / dolda / bsvc / Main.java
index a1687af..9deae0e 100644 (file)
@@ -6,8 +6,8 @@ import dolda.jsvc.util.*;
 public class Main {
     public static Responder responder() {
        Multiplexer root = new Multiplexer();
-       root.file("sh", new ShellPage());
-       root.file("css", new StaticContent(Main.class, "static/base.css", false, "text/css"));
+       root.file("sh", new PerSession(ShellPage.class));
+       root.file("css", new StaticContent(Main.class, "static/base.css", "text/css"));
        return(Misc.stdroot(root));
     }
 }