Foolfuuka's API URL does not end with .json so we must define the responseType manually.

This commit is contained in:
Mayhem 2014-01-21 15:09:16 +01:00
parent 64a90bf8d3
commit e25fd080bc

View File

@ -76,6 +76,7 @@ Get =
$.cache url,
-> Get.archivedPost @, boardID, postID, root, context
,
responseType: 'json'
withCredentials: url.archive.withCredentials
insert: (post, root, context) ->
# Stop here if the container has been removed while loading.