Using api routes with firebase hosting isn't working properly #15884
Unanswered
jahirfiquitiva
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
I've setup my project like in this project and I want to use some api routes, so I have created the function and everything in the
api
folder and stuff.Anyways, when I run the app with
next dev
I get the following error:This is the api function code, just in case:
What could I be doing wrong? How can I solve this?
Thanks in advance
System information
Beta Was this translation helpful? Give feedback.
All reactions