Skip to content

Conversation

wolfie
Copy link

@wolfie wolfie commented Oct 31, 2023

Issue/Feature

SSR (especially in Svelte) results in a 500 server response since the old if/else clause patches the wrong global object

Solution

instead of explicitly using window or global, globalThis is the universal global object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant