Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Fix Turnstile unable to read the siteKey #1728

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

brawaru
Copy link
Contributor

@brawaru brawaru commented Jun 15, 2024

It seems that Nuxt Turnstile's way of setting the key in runtimeConfig is broken and doesn't work properly, resulting in an error in runtime, because it has to be set. This PR sets the key in runtimeConfig manually instead, which seems to fix the issue.

It seems that Nuxt Turnstile's way of setting the key in `runtimeConfig`
is broken and doesn't work properly, resulting in an error in runtime,
because it has to be set. This commit sets the key in `runtimeConfig`
manually instead, which seems to fix the issue.
@brawaru brawaru changed the title Read Turnstile keys from environment variables Fix Turnstile unable to read the siteKey Jun 15, 2024
@Prospector Prospector merged commit 61fd6f1 into modrinth:master Jun 15, 2024
1 check passed
Prospector added a commit that referenced this pull request Jun 15, 2024
It seems that Nuxt Turnstile's way of setting the key in `runtimeConfig`
is broken and doesn't work properly, resulting in an error in runtime,
because it has to be set. This commit sets the key in `runtimeConfig`
manually instead, which seems to fix the issue.

Co-authored-by: Sasha Sorokin <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants