Skip to content

Missing ORIGIN environment variable #11

@JeanJPNM

Description

@JeanJPNM

SvelteKit offsers built-in CSRF protection, however for it to work properly on servers deployed on node, the app must know the URL it is being served from (e.g. ORIGIN=https://vinumdoc.com/ node build ).

Without this, the website will reject PUT, POST and DELETE requests from any domain, even the official one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions