Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(component): allow to specify a base url for loading recaptcha
"google.com" domain might be unavailable in certain countries, so we're adding the ability to specify a different base url for the script. Closes #101
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { RecaptchaComponent } from './recaptcha/recaptcha.component'; | ||
export { RecaptchaLoaderService, RECAPTCHA_LANGUAGE } from './recaptcha/recaptcha-loader.service'; | ||
export { RecaptchaLoaderService, RECAPTCHA_LANGUAGE, RECAPTCHA_BASE_URL } from './recaptcha/recaptcha-loader.service'; | ||
export { RecaptchaModule } from './recaptcha/recaptcha.module'; | ||
export { RECAPTCHA_SETTINGS, RecaptchaSettings } from './recaptcha/recaptcha-settings'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters