From ec3aac6aa981e15708d7616c1b6f5c302c08e8d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Nu=C3=B1ez?= Date: Mon, 29 Jan 2018 22:07:08 -0300 Subject: [PATCH] changed default content type to text/plain --- static/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/application.js b/static/application.js index d936cd9..4390061 100644 --- a/static/application.js +++ b/static/application.js @@ -64,7 +64,7 @@ haste_document.prototype.save = function(data, callback) { type: 'post', data: data, dataType: 'json', - contentType: 'application/json; charset=utf-8', + contentType: 'text/plain; charset=utf-8', success: function(res) { _this.locked = true; _this.key = res.key;