clarified;
authorwenzelm
Thu, 02 Mar 2017 16:05:09 +0100
changeset 65085 9d53b892140a
parent 65084 23202c455a3e
child 65086 548efa2bda66
clarified;
src/Pure/General/http.scala
--- a/src/Pure/General/http.scala	Thu Mar 02 16:01:30 2017 +0100
+++ b/src/Pure/General/http.scala	Thu Mar 02 16:05:09 2017 +0100
@@ -110,13 +110,13 @@
   /** Isabelle resources **/
 
   lazy val isabelle_resources: List[Handler] =
-    List(welcome(), fonts())
+    List(welcome, fonts())
 
 
   /* welcome */
 
-  def welcome(root: String = "/"): Handler =
-    get(root, uri =>
+  val welcome: Handler =
+    get("/", uri =>
       if (uri.toString == "/") {
         val id =
           Isabelle_System.getenv("ISABELLE_ID") match {