Skip to content

Images now pointing to "localhost" rather than domain #1905

@andrefecto

Description

@andrefecto

Describe the bug
After updating Bookstack, all the links to any pages or images now point towards "localhost" rather than my domain. These links were working fine previously on this server + domain. However, I ran two updates this week to get on the current version of Bookstack and sometime in there, the links broke.

Steps To Reproduce
Steps to reproduce the behavior:
Unknown because I do not know which version specifically broke it.

Expected behavior
Links should link to URL defined in the .env file. I did verify that mine is set properly.

Screenshots
Here is what a link to one of my books looks like now:
image
Here is what an image looks like in the editor:
image
The link for that image is trying to point towards:
image

Your Configuration (please complete the following information):

Additional context
Looking back the release history here, I think I was running BookStack Beta v0.27.5 and then upgraded to BookStack Beta v0.28.0 about 5 or 6 days ago. Then when I saw BookStack Beta v0.28.1 and v0.28.2 get released, I updated this morning. That's when I noticed the images were broken.

Any help getting these images re-linked is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions