diff --git a/lib/recaptcha.js b/lib/recaptcha.js index 17f2555..88f7212 100644 --- a/lib/recaptcha.js +++ b/lib/recaptcha.js @@ -16,7 +16,7 @@ var http = require('http'), */ var API_HOST = 'www.google.com', - API_END_POINT = '/recaptcha/api/verify', + API_END_POINT = '/recaptcha/api.js', SCRIPT_SRC = API_HOST + '/recaptcha/api/challenge', NOSCRIPT_SRC = API_HOST + '/recaptcha/api/noscript'; @@ -73,7 +73,8 @@ Recaptcha.prototype.toHTML = function() { var script_src = (this.is_secure ? "https://" : "http://") + SCRIPT_SRC + '?' + query_string; var noscript_src = (this.is_secure ? "https://" : "http://") + NOSCRIPT_SRC + '?' + query_string; - return '' + + return '
' + + '' + '