pme
pme

Reputation: 14803

Play: extract the WebJar contents to a certain path

According to the WebJars documentation

Play automatically extracts the WebJar contents and makes them available via the Assets controller.

Is there a way to change that?

Instead of /assets/lib/bootstrap/css/bootstrap.css I would need /myProject/assets/lib/bootstrap/css/bootstrap.css

Upvotes: 0

Views: 167

Answers (1)

James Ward
James Ward

Reputation: 29433

If you just want to change the prefix in the URL route, then you can change your static asset controller's route in the conf/routes file.

Upvotes: 1

Related Questions