Skip to content

Download public files - File not available on the page (Gitlab Pages) #4230

Open
@MagnusOshaugPedersen

Description

@MagnusOshaugPedersen

Describe the bug

Issue: Cannot download files from public folder in version v.1.3.4

Description

I encountered an issue after updating Vitepress from version v.1.2.3 to v.1.3.4 where I can no longer download files from the public folder on my Vitepress site.

Screenshots

image

image

Reproduction

Steps to reproduce

  1. Run Vitepress on Gitlab Pages
  2. Update Vitepress from v.1.2.3 to v.1.3.4
  3. Attempt to download a file from the public folder.
  4. The error message "file not available on the page" appears

image

Expected behavior

Expected behavior

Files from the public folder should be downloadable, as they were in version v.1.2.3.

Workaraound

Downgrading back to v.1.2.3 resolve the issue and restore file downloads from the public folder.

System Info

Vitepress v.1.3.4

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions