summaryrefslogtreecommitdiff
path: root/example/todo
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-08-13 21:11:11 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-08-13 22:13:48 +0800
commite74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3 (patch)
tree9589f3840df5203b60be89efa878d3c2ee678af0 /example/todo
parentb1d516e2b7df2d881c4dc84840e1cdc475b845b5 (diff)
downloadcask-e74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3.tar.gz
cask-e74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3.tar.bz2
cask-e74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3.zip
0.1.00.1.0
Diffstat (limited to 'example/todo')
-rw-r--r--example/todo/app/src/TodoServer.scala4
-rw-r--r--example/todo/build.sc2
2 files changed, 3 insertions, 3 deletions
diff --git a/example/todo/app/src/TodoServer.scala b/example/todo/app/src/TodoServer.scala
index bfe4ea0..1a768d1 100644
--- a/example/todo/app/src/TodoServer.scala
+++ b/example/todo/app/src/TodoServer.scala
@@ -173,8 +173,8 @@ object TodoServer extends cask.MainRoutes{
)
}
- @cask.static("/static")
- def static() = "example/todo/resources/todo"
+ @cask.staticResources("/static")
+ def static() = "todo"
initialize()
}
diff --git a/example/todo/build.sc b/example/todo/build.sc
index c8cbe8e..ca0716a 100644
--- a/example/todo/build.sc
+++ b/example/todo/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.9",
+ ivy"com.lihaoyi::cask:0.1.0",
ivy"org.xerial:sqlite-jdbc:3.18.0",
ivy"io.getquill::quill-jdbc:2.5.4",
ivy"com.lihaoyi::scalatags:0.6.7",