You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% yarn why netlify-cli
yarn why v1.22.4
[1/4] 🤔 Why do we have the module "netlify-cli"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "netlify-cli@2.71.0"
info Reasons this module exists
- "_project_#app" depends on it
- Hoisted from "_project_#app#netlify-cli"
info Disk size without dependencies: "1.9MB"
info Disk size with unique dependencies: "31.63MB"
info Disk size with transitive dependencies: "244.82MB"
info Number of shared dependencies: 262
✨ Done in 1.49s.
Expected behavior
Netlify Dev should render the output of my index function and return 200 instead of returning the 301.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running
netlify dev
locally, visiting a path that I have proxied results in a 301 redirect to a path beginning with.netlify/functions/
.To Reproduce
Steps to reproduce the behavior:
_redirects
proxying to your function; for example:/ /.netlify/functions/index 200
netlify dev
/.netlify/functions/
instead of the requested URLConfiguration
netlify.toml
Expected behavior
Netlify Dev should render the output of my
index
function and return200
instead of returning the301
.The text was updated successfully, but these errors were encountered: