base/src/sqwl/cms/Server.scala
changeset 14 7c4b05467630
parent 13 216da61215db
child 32 2d14f02ba3bd
equal deleted inserted replaced
13:216da61215db 14:7c4b05467630
    53       getFromDirectory(content.publicAssets.toString)
    53       getFromDirectory(content.publicAssets.toString)
    54     }
    54     }
    55   }
    55   }
    56 
    56 
    57   Http().bindAndHandle(routes, http.interface, http.port)
    57   Http().bindAndHandle(routes, http.interface, http.port)
    58   system.log.info("Click `Enter` to close application...")
    58   if (run.mode == "devel") {
    59   StdIn.readLine()
    59     system.log.info("Click `Enter` to close application...")
    60   system.terminate()
    60     StdIn.readLine()
       
    61     system.terminate()
       
    62   }
    61 
    63 
    62 }
    64 }