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

When using netlify-adapter with Edge functions enabled, _redirect is not being created, resulting in 404 #4881

Closed
saturnonearth opened this issue May 12, 2022 · 2 comments

Comments

@saturnonearth
Copy link

Describe the bug

When using the netlify-adapter with Edge functions enabled in the config, the _redirect file is not being created at all, resulting in a 404, "Page Not found" as this file is required to redirect all requests to the Render function.

Reproduction

use netlify-adapter, set Edge functions to "true"

Logs

No response

System Info

System:
    OS: macOS 12.3.1
    CPU: (8) arm64 Apple M1
    Memory: 94.73 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.0.0 - ~/.nvm/versions/node/v16.0.0/bin/node
    npm: 8.5.3 - ~/.nvm/versions/node/v16.0.0/bin/npm
  Browsers:
    Chrome: 101.0.4951.64
    Firefox: 88.0.1
    Safari: 15.4
    Safari Technology Preview: 15.4
  npmPackages:
    @sveltejs/adapter-netlify: next => 1.0.0-next.56 
    @sveltejs/kit: next => 1.0.0-next.326 
    svelte: ^3.44.0 => 3.48.0

Severity

blocking an upgrade

Additional Information

Similar and probably related to other issue I created, #4722

@Rich-Harris
Copy link
Member

As far as I can tell, Netlify edge functions don't use _redirects; they use .netlify/edge-functions/manifest.json. It's working fine for me. Perhaps the error is caused by something else?

@saturnonearth
Copy link
Author

Looks like it was the password I had set through Netlify to make the website private only.

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

No branches or pull requests

2 participants