Open martinhjartmyr opened 6 months ago
it's not yet implemented - i'll look into this
Would it be possible to have a look at this soon? 😊
@thdxr any updates on streaming support for sveltekit? also happy to help out :)
It would be great if this feature was implemented sooner rather then later. Its kind of a blocker for us at work :) I really like sst overall, but having this feature would greatly enhance the experience.
i will take a look at what this needs next week
Greatly appreciated, thanks.
Any news on this?
I'm trying to enable streaming support for SvelteKit.
Streaming works out of the box when running
sst dev vite dev
.However, when deployed to AWS, the lambda returns JSON instead of the rendered HTML (content-type: text/html):
{"statusCode":200,"headers":{"content-type":"text/html"},"body":"<!doctype html>\n<html lang=\"en\">\n\t<head>...
Example
+page.server.ts
+page.svelte
Am I missing something, or is this not yet implemented?