The issue goes away and the styles load as expected after refreshing the page and in subsequent page loads, but issue comes back whenever the app is automatically paused and the page is first loaded again to bring the app out of the paused state.
Please let me know your thoughts on this issue. Thank you very much.
A guess, and a possible workaround. Since the problem clears up (at least temporarily), it might be that your server is taking too long after restart to begin processing requests.
Since all the js and css files that get built in NextJS are in the /static directory, I tried using the following statics configuration in my fly.toml file