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:
commit
3b66ff5d58
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue