Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix support for NextJS #211

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

HiiiiD
Copy link
Contributor

@HiiiiD HiiiiD commented Mar 5, 2024

By accessing window.origin in a static file, NextJS complains about the fact that window is not defined server-side.
This will allow the kit to not throw any errors related to the kit itself.

@Valazan Valazan requested a review from davidecarpini March 5, 2024 17:53
@davidecarpini davidecarpini merged commit d818890 into vechain:main Mar 5, 2024
3 checks passed
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.

2 participants