Answers.Body: <p>the dev fixed it and released a new version. Thank you!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-08-17T13:31:39.420Z
Answers.LastActivityDate: 2021-08-17T13:31:39.420Z
Answers.UserDisplayName: Martin288
Body: <p>I want to use the <a href="https://github.com/clarknelson/craft-recaptcha-3" rel="nofollow noreferrer">recaptcha plugin</a>
  but I get a JS error because the script is looking at the wrong site. The plugin is using</p>
  <blockquote>
  <p>scoreRequest.open(&quot;POST&quot;, &quot;/{{ craft.app.config.general.actionTrigger
  }}/craft-recaptcha-3/default&quot;, true);</p>
  </blockquote>
  <p>which brings to
  <a href="https://xxxx.com/en/actions/craft-recaptcha-3/default/" rel="nofollow noreferrer">https://xxxx.com/en/actions/craft-recaptcha-3/default/</a>
  instead of
  <a href="https://xxxx.com/fr/actions/craft-recaptcha-3/default/" rel="nofollow noreferrer">https://xxxx.com/fr/actions/craft-recaptcha-3/default/</a></p>
  <p>EN is still installed but disabled as we are only using FR at the moment. FR is already checked as the primary site in the settings... Why is it still using /en/ and how can I fix this?</p>
  <p>Thank you!</p>
  
Tags: <multi-site><plugin-recaptcha>
Title: Wrong default site
ThreadText: # Wrong default site
  
  (Asked by: username_0 on 2021-08-06)
  
  I want to use the [recaptcha plugin](https://github.com/clarknelson/craft-recaptcha-3)
  but I get a JS error because the script is looking at the wrong site. The plugin is using
  
  > scoreRequest.open("POST", "/{{ craft.app.config.general.actionTrigger
  > }}/craft-recaptcha-3/default", true);
  
  which brings to
  <https://xxxx.com/en/actions/craft-recaptcha-3/default/>
  instead of
  <https://xxxx.com/fr/actions/craft-recaptcha-3/default/>
  
  EN is still installed but disabled as we are only using FR at the moment. FR is already checked as the primary site in the settings... Why is it still using /en/ and how can I fix this?
  
  Thank you!
  
  **Tags:** multi-site, plugin-recaptcha
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-08-17. Score: 1
  
  the dev fixed it and released a new version. Thank you!
  
  
  ---
  
  