0
对于我的打法 - 斯卡拉项目,我的路线文件有:不能访问播放斯卡拉公用文件夹资源
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
不过,我不能够从该文件夹检索任何资源。例如,我把png文件calleg favicon.png公共文件夹,但是,如果我跑
http://localhost:9000/public/favicon.png
播放服务器无法找到资源。任何想法,以寻找什么来修复这个问题?
服务器还表示,试过路线:
GET/assets/$file<.+>controllers.Assets.versioned(path:String = "/public", file:Asset)
,但没有运气。