-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Thanks for sharing the play & react integration source codes. I have a few problems on deployment in production mode. Could you consider how to solve the issue of my used case?
- Back-end needs to download some images file from a server.
- Front-end serves the files downloaded.
- It works perfectly on development mode run by
sbt run. - Deployment on production is done by
sbt dist,unzip target/universal/xxxx.zip,cd xxx,./bin/xxx Dplay.http.secret.key=lqkejrnjnjfajsdjfajhsdfhjasdf -Dconfig.file=/home/ubuntu/code/xxx/conf/application.conf -Dhttp.port=8080 - Downloaded files are under xxx/public/images/
- Front-end cannot serve the downloaded images file.
- What I should need to change the config or controller to serve the file under xxx/public/images folder?
Thank you.
Reactions are currently unavailable