ninjaframework / ninja

Ninja is a full stack web framework for Java. Rock solid, fast and super productive.
http://www.ninjaframework.org
Apache License 2.0
1.91k stars 521 forks source link

make assets dir configurable #712

Closed asolntsev closed 2 years ago

asolntsev commented 3 years ago

Currently assets dir is hardcoded: src/main/java/assets. Though, a best practice in Java project is storing such resources in src/main/resources.

I suggest at least to make it configurable.

raphaelbauer commented 3 years ago

Same is in #713 - sounds like a good idea and we are really open to PRs :) Let us know if we can help!

asolntsev commented 3 years ago

@raphaelbauer yes, I will prepare a PR.