gornostay25 / svelte-adapter-bun

A SvelteKit adapter for Bun
MIT License
534 stars 33 forks source link

Get ORIGIN from env var and default to https #36

Closed thomasmol closed 1 year ago

thomasmol commented 1 year ago

This fixes #33 but also renders the config option dynamic_origin obsolete. If ORIGIN is set as an env var, it is used, otherwise origin is dynamic. Removed default values for protocol_header and host_header and set default origin protocol to https. This makes the adapter behave similar to the official node adapter.

thomasmol commented 1 year ago

@gornostay25 Thoughts on this?

gornostay25 commented 1 year ago

@gornostay25 Thoughts on this?

I will check this today