http4s / http4s_demo

See how easy http4s makes life
Other
14 stars 7 forks source link

How to reference static js files from Twirl generated page? #6

Closed wpoosanguansit closed 9 years ago

wpoosanguansit commented 9 years ago

I could not find any doc or example in how to reference static local files like js. It would be great if this is in the demo as well. Thanks for your help.

wpoosanguansit commented 9 years ago

I added ResourceCache class from this link:

https://github.com/ppurang/httpize/tree/master/src/main/scala/org/purang/net/httpize

and I am able to access local files in resources folder.