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
Is the exported handler not working for custom servers?
The first issue was that "handler" endpoint doesn't exist. But "handler_default" does? Anyway...
I'm wanting to use a custom server, I don't care of it's Polka, Express or anything else, but I need to run a script during application start, which in turn, calls the main application. This way I can perform tasks such as setting of a schedular or fire off an email, etc.
Per the SvelteKit docs, we can use a custom server. A couple issues with Svelte Adapter Bun project (here) were referenced before and an exported handler was added for this very purpose.
Is the exported handler not working for custom servers?
The first issue was that "handler" endpoint doesn't exist. But "handler_default" does? Anyway...
I'm wanting to use a custom server, I don't care of it's Polka, Express or anything else, but I need to run a script during application start, which in turn, calls the main application. This way I can perform tasks such as setting of a schedular or fire off an email, etc.
Per the SvelteKit docs, we can use a custom server. A couple issues with Svelte Adapter Bun project (here) were referenced before and an exported handler was added for this very purpose.
See #41
Here is my minimum reproducible example, of a custom server script called "my-server.js", which uses Express.
https://github.com/maietta/annoying-sveltekit-bun-custom-server-issue
The text was updated successfully, but these errors were encountered: