yarbsemaj / sveltekit-adapter-lambda

An adapter to build a SvelteKit app into a lambda ready for deployment with lambda proxy via the Serverless Framework or CDK.
https://www.npmjs.com/package/@yarbsemaj/adapter-lambda
MIT License
77 stars 16 forks source link

Allow authenticated endpoints #35

Closed zamoshchin closed 1 year ago

zamoshchin commented 1 year ago

Allowing endpoints that require authorization headers in Svelte by forwarding the authorization headers

yarbsemaj commented 1 year ago

Thankyou very much for this contribution. However I would consider this change to be an application specific change, the severless.yml provided in the repo is only meant to be a template that is modified to suit your application, some people may want an auth header, or custom cnames etc