Hi,
I have a project with several sub-modules, something like below (which I think is quite standard):
app
└ views
└> index.scala.html
└ public
└ stylesheets
└> main.less
conf
└> application.conf
└> routes
modules
└ web
└ app
└ appspokes.web
└ controllers
└> Assets.java
└ public
└ stylesheets
└> web.css
In the main app's routes file, it is like the following:
... ...
... ...
In the web sub-module, the web.routes file is like the following:
... ...
... ...
Now, everything works fine in dev mode (i.e. run from within IntelliJ), but when I try to run the app from a zip produced with dist, I am unable to load the javascripts and css files from the web-submodule. For example, the URL
http://localhost:9000/web/assets/javascripts/web.js would give a 404.
Any idea why the assets will load fine in dev mode but not in dist mode?
Thanks