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

Fixed pwa assets files not served #2568

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

anderson-oki
Copy link
Collaborator

@anderson-oki anderson-oki commented Jul 6, 2024

Description

For the PWA to be properly registered and working, the required assets have to be returned from the root folder specially for the Service Worker be able to access all files such as images and assets.

At the moment we are not serving the files from the frontend root folder.

Closes #2562

Instead of allowing all files from the frontend build root folder to be served, i limited to serve only the PWA to prevent unexpected exploits

@anderson-oki anderson-oki self-assigned this Jul 6, 2024
@anderson-oki anderson-oki marked this pull request as ready for review July 6, 2024 02:14
@anderson-oki anderson-oki changed the title Fixed pwa assets not served Fixed pwa assets files not served Jul 6, 2024
@anderson-oki anderson-oki merged commit 0f14a33 into development Jul 8, 2024
2 checks passed
@anderson-oki anderson-oki deleted the fix/pwa-assets-not-served branch July 8, 2024 01:32
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

Successfully merging this pull request may close these issues.

1 participant