Closed nboehret closed 2 years ago
I do believe this is because I am on a Windows PC.
Looks like the join
in index.js (referenced below) is os specific.
https://github.com/yarbsemaj/sveltekit-adapter-lambda/blob/f654ceb61968963cfc64c776e60968b88a32c9d0/index.js#L98
Thank You very much for raising and fixing this issue :)
Hello,
Thanks for making an amazing adapter!
I managed to get a deployment working by switching the runtime to 16.x but none of the static assets seemed to be working. I looked into the lambda@edge logs and it seemed that in router.js when comparing the
uri
of the request with thestatic_default
values of the site that the slashes were not the same. Specifically thestatic_default
slashes were\\
and the uri was/
.Is this an error that others have encountered or is my setup wrong?
My serverless.yml if that is needed.