Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Conversation

rafaelyanagui
Copy link
Contributor

@rafaelyanagui rafaelyanagui commented Mar 30, 2022

Fix JS URL for recaptcha v3 when the project run in subfolder, example:
https://localhost/client/project/public/

Before the JS was sending the request to: https://localhost/biscolab-recaptcha/validate
Now the JS will send the request to: https://localhost/client/project/public/biscolab-recaptcha/validate

Corrige rota JS do recaptcha v3 no casos de projetos estejam rodando em uma subpasta, exemplo: https://localhost/cliente/projeto/public/

Antes o JS estava mandando a validação para "https://localhost/" . config( 'recaptcha.default_validation_route', 'biscolab-recaptcha/validate')
Agora o JS enviará para a requisição para "https://localhost/cliente/projeto/public/" . config( 'recaptcha.default_validation_route', 'biscolab-recaptcha/validate')
@biscolab biscolab merged commit fc55b06 into biscolab:master May 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants