fix template

This commit is contained in:
Konstantin Haase 2012-11-18 12:59:33 +01:00
parent 46c55bc400
commit b5760abd2b

View File

@ -284,7 +284,7 @@ alert('refusing to send a token to <%= target_origin.inspect %>, not whitelisted
img.onload = function() {
console.log('img onload');
var script = document.createElement('script');
script.src = "<%= host %>/auth/check_cookie";
script.src = "<%= url('/auth/check_cookie') %>";
window.document.body.appendChild(script);
}