我有一个简单的客户端AngularJS应用程序,我正在Heroku上运行。我想在Papertrail上记录输入,并使用Tattletale.js看到了这个简单的例子:
var tattletale = new Tattletale('https://probat-arabica-29.herokuapp.com/log');
tattletale.log('“My name is Ozymandias, king of kings:');
tattletale.log('Look on my works, ye Mighty, and despair!”');
tattletale.log(42);
tattletale.send();
我的问题是/log
端点来自该示例的位置?期望您需要服务器端代码来提供吗?我搜索了Heroku / Papertrail配置页面无济于事。有什么帮助吗?