Next.js-Strapi-Blog icon indicating copy to clipboard operation
Next.js-Strapi-Blog copied to clipboard

[BUG] Load More Button

Open ramazansancar opened this issue 3 years ago • 6 comments

When I click the load more button, 503 error is returned from the api.

Screenshot here: image

ramazansancar avatar Dec 05 '22 11:12 ramazansancar

I guess, that's Heroku made their service unavailable

AlexTechNoir avatar Dec 05 '22 12:12 AlexTechNoir

I guess, that's Heroku made their service unavailable

Why don't you use Vercel? @AlexTechNoir

See. https://vercel.com/guides/using-express-with-vercel

ramazansancar avatar Dec 05 '22 13:12 ramazansancar

With Vercel, being a platform for frontend apps, I don't see how I can deploy Strapi's backend there

I don't know how the info in the linked blogpost can help with this

AlexTechNoir avatar Dec 05 '22 14:12 AlexTechNoir

With Vercel, being a platform for frontend apps, I don't see how I can deploy Strapi's backend there

I don't know how the info in the linked blogpost can help with this

You can run it by providing the configuration of the vercel.json file in the https://vercel.com/guides/using-express-with-vercel#standalone-express section. @AlexTechNoir

ramazansancar avatar Dec 06 '22 07:12 ramazansancar

Sorry, but I still don't understand :(

I never used rewrites, can you provide some code example with them and explain how will it work with Strapi?

AlexTechNoir avatar Dec 06 '22 12:12 AlexTechNoir

Sorry, but I still don't understand :(

I never used rewrites, can you provide some code example with them and explain how will it work with Strapi?

I haven't had a chance to try strapi yet. But I am using the code sample on the page.

ramazansancar avatar Dec 06 '22 14:12 ramazansancar