Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next.js + Flask fails in production #831

Open
bernatfortet opened this issue Nov 19, 2023 · 2 comments
Open

Next.js + Flask fails in production #831

bernatfortet opened this issue Nov 19, 2023 · 2 comments

Comments

@bernatfortet
Copy link

bernatfortet commented Nov 19, 2023

I'm visiting the url: https://nextjs-flask-starter.vercel.app/ which is your official demo of this Next.js + flask example and I'm getting an error when going to https://nextjs-flask-starter.vercel.app/api

image

Additionally, would you be so kind to show an example of sub paths? e.g. /api/echo

I think @steven-tey created the example

@benfwalla
Copy link

benfwalla commented Jan 11, 2024

It appears Vercel's demo still doesnt work if you go to https://nextjs-flask-starter.vercel.app/api/python, which the code suggests is a valid API route.

I'm going to try with the FastAPI Template, as at least its demo works, so I can reverse engineer.

@chrispepper1989
Copy link

has this been resolved? the demo still doesnt work, while annoyingly it works locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants