Commit 3bcdfe41cb512dd324377edc3425377a34ef927e

Authored by Stas Kelvich
1 parent e77a63ab
Exists in master and in 1 other branch production

force xml format in notifier.js requests. fixes 406 (Not Acceptable) error in browsers

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
public/javascripts/notifier.js
... ... @@ -30,7 +30,7 @@ var Errbit = {
30 30 notify: function(error) {
31 31 var xml = escape(Errbit.generateXML(error));
32 32 var host = Errbit.host || 'github.com/jdpace/errbit';
33   - var url = '//' + host + '/notifier_api/v2/notices?data=' + xml;
  33 + var url = '//' + host + '/notifier_api/v2/notices.xml?data=' + xml;
34 34 var request = document.createElement('iframe');
35 35  
36 36 request.style.width = '1px';
... ...