diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-08-13 21:11:11 +0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-08-13 22:13:48 +0800 |
commit | e74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3 (patch) | |
tree | 9589f3840df5203b60be89efa878d3c2ee678af0 /example/todo/app/src | |
parent | b1d516e2b7df2d881c4dc84840e1cdc475b845b5 (diff) | |
download | cask-e74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3.tar.gz cask-e74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3.tar.bz2 cask-e74ade7ac9bfff9239c0243c0fdf01b18d4a0ec3.zip |
0.1.00.1.0
Diffstat (limited to 'example/todo/app/src')
-rw-r--r-- | example/todo/app/src/TodoServer.scala | 4 |
1 files changed, 2 insertions, 2 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() } |