Title: Serving files on deployment server · Issue #5 · playframework/play-java-react-seed · GitHub
Open Graph Title: Serving files on deployment server · Issue #5 · playframework/play-java-react-seed
X Title: Serving files on deployment server · Issue #5 · playframework/play-java-react-seed
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. F...
Open Graph 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 do...
X 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 t...
Opengraph URL: https://github.com/playframework/play-java-react-seed/issues/5
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Serving files on deployment server","articleBody":"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?\r\n- Back-end needs to download some images file from a server.\r\n- Front-end serves the files downloaded.\r\n- It works perfectly on **development** mode run by `sbt run`.\r\n- 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`\r\n- Downloaded files are under **xxx/public/images/**\r\n- Front-end cannot serve the downloaded images file.\r\n- What I should need to change the config or controller to serve the file under **xxx/public/images folder**?\r\nThank you.","author":{"url":"https://github.com/yanlinaung30","@type":"Person","name":"yanlinaung30"},"datePublished":"2018-12-17T02:55:07Z","url":"https://github.com/playframework/play-java-react-seed/issues/5"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4d0b1003-fa56-1ae1-94d3-d746e5fa5d6c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E29E:3A73AA:204BAF6:28EE2F7:6B01AB00 |
| html-safe-nonce | 91e408ef3bc5e0908673fc99af7661119529f8a072800a3d05ed2e3b49a380fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjlFOjNBNzNBQToyMDRCQUY2OjI4RUUyRjc6NkIwMUFCMDAiLCJ2aXNpdG9yX2lkIjoiNzM2MjE5MzI5NzU4MDc5NzQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 82bd18b56168f9060f350d7e4672ba8d780db2eeeec50db1ae4e225368c40057 |
| hovercard-subject-tag | issue:391539972 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/playframework/play-java-react-seed/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ff8c7eedfe0adf046b944e1e8bf47e2c3e077b8b3572b21f11109bc4b895bf3/playframework/play-java-react-seed/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ff8c7eedfe0adf046b944e1e8bf47e2c3e077b8b3572b21f11109bc4b895bf3/playframework/play-java-react-seed/issues/5 |
| og:image:alt | 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 do... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yanlinaung30 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/playframework/play-java-react-seed git https://github.com/playframework/play-java-react-seed.git |
| octolytics-dimension-user_id | 319107 |
| octolytics-dimension-user_login | playframework |
| octolytics-dimension-repository_id | 113740725 |
| octolytics-dimension-repository_nwo | playframework/play-java-react-seed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113740725 |
| octolytics-dimension-repository_network_root_nwo | playframework/play-java-react-seed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width