For my play-scala project, My routes file has:
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
http://localhost:9000/public/favicon.png
GET/assets/$file<.+>controllers.Assets.versioned(path:String = "/public", file:Asset)
You are reading your configuration wrong, the correct request would look like this:
http://localhost:9000/assets/favicon.png
That way favicon.png
will be searched in public
folder, not another way around
If you want your original URL to work, you'll need to change your configuration to following:
GET /public/*file controllers.Assets.versioned(path="/public", file: Asset)