Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC file downloads: Retrieve via server #1469

Open
jvwong opened this issue Aug 8, 2024 · 0 comments
Open

PC file downloads: Retrieve via server #1469

jvwong opened this issue Aug 8, 2024 · 0 comments

Comments

@jvwong
Copy link
Member

jvwong commented Aug 8, 2024

Description of new feature

The file downloads module design introduces an issue where the PC_URL configuration needed to be identified on app boot when static assets were built before hand (i.e. in a Docker image).

To resolve this, retrieve the PC file downloads proxied via the server, rather than directly from the browser.

Motivation for new feature

  • ease configuration and Docker image build
  • security: queries could be done in the backend of the same app/domain, and because we might add PC2 API access JWT tokens in the future to prevent DDOS/abuse attacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant