Server Action Invalid URL
Deployed solidstart in a lambda and GET requests to pages work. However when I make a POST request via actions I see it does everything correctly on the server side (logs a message) the response on the client is:
I have no clue how to resolve this.
2 Replies
Looks like it has something to do with wrapping my action with
import { action, useAction } from "@solidjs/router";
Am I misunderstanding what this is for? When I remove it from wrapping my action it works as expected.Can share the whole component which uses the action?
And did you use the preset
aws_lambda
in the app.config.tsß