Skip to content

Bug with Setting headers chapter in SvelteKit tutorial  #585

Open
@anrunt

Description

@anrunt

https://github.com/sveltejs/learn.svelte.dev/tree/main/content/tutorial/03-sveltekit/04-headers-and-cookies/01-headers

During writing code for setHeaders, my browser started downloading 20 files with random numbers and letters when i reached this moment in the editor:
"export function load({ setHeaders }) {
setHeaders({
'Content-Type':"
})
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions