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
web | Error: `apiUrl` is configured incorrectly.
web | It should be an absolute path (thats starts with `/`) or an absolute URI that starts with `http[s]://`
error Command failed with exit code 1.
Running
yarn rw setup deploy netlify
inserts invalid configuration intoredwood.toml
.Before command dev server runs as normal
After command dev server gives following error
Replicated with fresh project here.
Redwood version: 0.42.1
Fix:
In
redwood.toml
under[web]
, change the line that says:apiUrl = "./netlify/function"
to say:
apiUrl = "/.netlify/functions"
The text was updated successfully, but these errors were encountered: