ONEARMY / community-platform

A platform to build useful communities that aim to tackle global problems
https://platform.onearmy.earth
MIT License
1.14k stars 397 forks source link

fix: prod users seeing a dynamic import error #3808

Closed benfurber closed 3 months ago

benfurber commented 3 months ago

PR Checklist

PR Type

What kind of change does this PR introduce?

What is the current behavior?

A user reported this issue when clicking onto a how-to: dynam-eror

What is the new behavior?

From reading this, a possible reason for the issue is that our prod hosting provider deletes the old js files that the new build links to.

My fix causes a page level refresh (to get the most up to date js files) when that error occurs.

cypress[bot] commented 3 months ago



Test summary

66 0 1 0Flakiness 0


Run details

Project onearmy-community-platform
Status Passed
Commit ada944766a
Started Jul 30, 2024 10:24 AM
Ended Jul 30, 2024 10:28 AM
Duration 04:01 💡
OS Linux Ubuntu -
Browser Chrome 127

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

onearmy-bot commented 3 months ago

:tada: This PR is included in version 1.205.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: