Skip to content

Self-hosted instance returning Page Not Found for all badges #9521

Closed Answered by chris48s
oe-josh-martin asked this question in Q&A
Discussion options

You must be logged in to vote

I've never tried running it on vercel, so I can't really guide you through this too much, but my guess is you're telling vercel to build the frontend and run that as a static site, but you are never starting the badge server. That would be why you've got a working "website" bit of the app but its not serving any actual images. I'm not really sure what steps you'd take on Vercel but basically you want to build the frontend with npm run build but then start the badge server (which can serve the built frontend as well as the badges) using either node server or npm run start:server:prod

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by oe-josh-martin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants