mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Merge pull request #5320 from jaswilli/fixup-export-link
Fix export db link and access token parameter
This commit is contained in:
commit
ca8e1b9af4
@ -65,7 +65,7 @@ var LabsController = Ember.Controller.extend(Ember.Evented, {
|
||||
exportData: function () {
|
||||
var iframe = $('#iframeDownload'),
|
||||
downloadURL = this.get('ghostPaths.url').api('db') +
|
||||
'?access_token=' + this.get('session.access_token');
|
||||
'?access_token=' + this.get('session.secure.access_token');
|
||||
|
||||
if (iframe.length === 0) {
|
||||
iframe = $('<iframe>', {id: 'iframeDownload'}).hide().appendTo('body');
|
||||
|
Loading…
Reference in New Issue
Block a user