Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken links in Available Backups table #37

Closed
mwender opened this issue Aug 3, 2016 · 6 comments
Closed

Broken links in Available Backups table #37

mwender opened this issue Aug 3, 2016 · 6 comments

Comments

@mwender
Copy link

mwender commented Aug 3, 2016

I've tested the Download and Delete buttons in the Available Backups table, and I've found they are broken (note: I haven't tested the Restore button):

Broken links in Available Backups table

Updating the path for the download handler in app/source/scripts/settings.js fixes the Download button:

    // Download backup
    $('.available-backups').on('click', '[data-download-backup]', function() {
        location.href = Postleaf.url(
            'backups/' + encodeURIComponent($(this).attr('data-download-backup'))
        );
    });
@claviska
Copy link
Contributor

claviska commented Aug 3, 2016

They're working for me. The code sample provided removes the api/ path which would cause it to break (see the grouped routes in index.php).

Are you running Postleaf from a subfolder? Which beta is it?

@mwender
Copy link
Author

mwender commented Aug 3, 2016

I'm running Postleaf in my vhost's webroot. I just updated to Beta-5 today, but I noticed the issue before that. I believe I was at Beta-4.

Download backup links not working

@claviska
Copy link
Contributor

claviska commented Aug 3, 2016

This is most likely an Nginx config issue. We don't have an official Nginx config yet, but follow and help us out with #11 if you can.

@mwender
Copy link
Author

mwender commented Aug 3, 2016

@claviska - that makes sense. I'm glad I included the gif which included the NGINX clue.

@calmdev
Copy link

calmdev commented Aug 4, 2016

screenshots of this working on nginix can be found here Postleaf/postleaf#11 (comment)

@claviska
Copy link
Contributor

claviska commented Aug 4, 2016

Closing because I'm 99.9% sure this is a server config issue. Check @calmdev's example and see if that helps.

@claviska claviska closed this as completed Aug 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants