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
404 on Github login on Cloudflare #987
Comments
I just upgraded https://github.com/emmatown/keystatic-astro-cloudflare-workers-test and it seems to be working fine? |
Thanks for the reply, I updated my fork to match your recent changes and still have the same issue. https://keystatic-astro-cloudflare-workers-test-env.pages.dev/ It deploys fine and the site works but I can't get pass the "login with Github" button on the Is there any specific Cloudflare options/configuration required? |
Okay, I manage to get it to work. I ran the project locally in github mode and I was able to go through the "login with Github" flow to create the Github app. They So the issue is setting up the Github workflow and not the Cloudflare adapter. |
@NoelOConnell can this issue be closed? |
The
/keystatic
page renders the "login with Github" button but clicking that gives a 404.From the logs in Cloudflare
It seems that the handler is null https://github.com/withastro/astro/blob/e88eeb033749bd6bce8c00e712e207690ae9bf79/packages/astro/src/runtime/server/endpoint.ts#L26
It's a empty site with just a single
index.astro
page.This is what gets built and uploaded to Cloudflare.
Here's the dependency list
I also forked Emma's Keystatic Cloudfare demo repo and updated packages and it shows the same issue.
The text was updated successfully, but these errors were encountered: