Replies: 1 comment
-
Hey @alexis2m, sorry for the delay here. The api folder is incorrect. Please, visit the documentation and copy the correct path. It should be app/api/outstatic/[[...ost]]/route.ts or something like that. You missed the [[...ost]] part. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After following the "Add to Next.JS" guide, I cannot login as I get a 404 error for the following URL:
/api/outstatic/login
Here's what's inside my
app/api/outstatic/route.ts
:But somehow, I cannot make it work. Here are my .env settings:
OST_REPO_OWNER=alexis2m
OST_REPO_SLUG=XXX
OST_GITHUB_ID=XXX
OST_GITHUB_SECRET=XXX
In Github, callback is correctly set to mywebsite.com/api/outstatic/callback
Beta Was this translation helpful? Give feedback.
All reactions