Skip to content
Discussion options

You must be logged in to vote

Sounds painful. Quick fix would be to change the build output path from the default public/build to something else in your remix config, e.g. public/buildv2 -- https://remix.run/docs/en/main/file-conventions/remix-config#assetsbuilddirectory.

Pretty worrying to think something as widely used as express static would have a bug that could cause this. To mitigate any future risk, you should prob consider pushing your public directory to a CDN / static hosting.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@nullday0
Comment options

@richardscarrott
Comment options

Answer selected by nullday0
Comment options

You must be logged in to vote
1 reply
@nabeelpkl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants