Reputation: 4371
I added a file as part of the public assets of the project:
public/style/style.css
this is the route for public assets in routes
file:
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file)
this is the link to the style.css file:
http://localhost:9000/assets/style/style.css
but, somehow this link is broken. why is that?
other files (for example js libraries) are ok.
Upvotes: 1
Views: 771
Reputation: 55798
Two things to check, should help you:
public/style/style.css
is not empty.app/assets/style
or app/assets/style/style.css
Although it's just guessing I sometimes have similar problem which most often is caused by one of the above points.
Upvotes: 2