0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Merge pull request #3276 from sebgie/issue#3252

Move image upload to API
This commit is contained in:
Hannah Wolfe 2014-07-15 18:09:32 +01:00
commit 3b66ff5d58

View file

@ -63,7 +63,7 @@ UploadUi = function ($dropzone, settings) {
var self = this;
$dropzone.find('.js-fileupload').fileupload().fileupload('option', {
url: Ghost.subdir + '/ghost/upload/',
url: Ghost.subdir + '/ghost/api/v0.1/uploads/',
add: function (e, data) {
/*jshint unused:false*/
$('.js-button-accept').prop('disabled', true);