mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue