summaryrefslogtreecommitdiff
path: root/Plugin.scala
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin.scala')
-rw-r--r--Plugin.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/Plugin.scala b/Plugin.scala
index d6cea03..8f09c11 100644
--- a/Plugin.scala
+++ b/Plugin.scala
@@ -28,6 +28,7 @@ object Plugin extends sbt.Plugin {
val server = settingKey[ActorRef]("local websocket server")
val fileName = settingKey[String]("name of the generated javascript file")
val bootSnippet = settingKey[String]("piece of javascript to make things happen")
+
implicit val system = ActorSystem(
"SystemLol",
config = ConfigFactory.load(ActorSystem.getClass.getClassLoader),
@@ -107,6 +108,7 @@ object Plugin extends sbt.Plugin {
if (req.headers.contains(Connection("Upgrade"))){
sender ! Sockets.UpgradeServer(Sockets.acceptAllFunction(req), self)
}else{
+ req.
sender ! HttpResponse(
StatusCodes.OK,
entity="i am a cow"