Skip to content

Commit f33e150

Browse files
Fixes js example selector [skip ci]
1 parent 1e33a32 commit f33e150

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ If you're using a custom JavaScript frontend, you may require your Site Key avai
141141
<head>
142142
<meta charset="UTF-8">
143143
<title>My awesome app</title>
144-
<meta name="turnstile-site-key" content="{{ Turnstile::sitekey() }}">
144+
<meta name="turnstile-sitekey" content="{{ Turnstile::sitekey() }}">
145145
</head>
146146
<body>
147147
// ...
@@ -153,7 +153,7 @@ Then later you will be able to retrieve the site key through Javascript.
153153

154154
```vue
155155
<script setup>
156-
const siteKey = document.querySelector('meta[name="test-tag"]').content;
156+
const siteKey = document.querySelector('meta[name="turnstile-sitekey"]').content;
157157
158158
// ...
159159
</script>

0 commit comments

Comments
 (0)