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

Im unable to host my own api instance #66

Closed
inthelovedotorg opened this issue Oct 1, 2024 · 5 comments
Closed

Im unable to host my own api instance #66

inthelovedotorg opened this issue Oct 1, 2024 · 5 comments

Comments

@inthelovedotorg
Copy link

I'm actually using vercel, and tried to host my own api but I couldn't, i somehow when host it on vercel, see an error 404 not found by vercel and the api doesn't works either, can you please provide some assistance

@rajput-hemant
Copy link
Owner

Hey, could you please share the issue or error you're encountering?
Currently, the Bun runtime is set as the default for the repo, but you might be facing an error saying invalid runtime.
Try deploying it using the Node runtime. For more info, check out this link

@inthelovedotorg
Copy link
Author

inthelovedotorg commented Oct 1, 2024

I actually directly hosted the api by clicking on the deploy button in the read me file of the repository, and vercel didn't really asked for any env configurations aswell and deployed the repository but when it did I saw error saying 404 not found when I went to the url, I also tried using postman to check the api but the error was same as 404 not found, and i actually don't see any errors on the logs of vercel in the deployment

@inthelovedotorg
Copy link
Author

inthelovedotorg commented Oct 1, 2024

ill try running on node runtime as you said and see if it works

@inthelovedotorg
Copy link
Author

yup tysm it worked.

@rajput-hemant
Copy link
Owner

great 👍🏻

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

2 participants