Skip to content

Unable to load md-course file from nextcloud shared link #316

Open

Description

@wulstbug

We are currently trying to load a markdown file of a nextcloud shared link.

Direct entering of the shared link in liascript.github.io leads to the following issue (browser console output)

Access to XMLHttpRequest at 'https://api.allorigins.win/raw?url=https://shared-file-link/download' from origin 'https://liascript.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Due to these blog-posts sharing-via-gitlab and newsletter-18-07-2025 I was hoping to get things runing like this

https://liascript.github.io/course/?nextcloud://shared-file-link/download

But this doesn't do the trick either (with or without /download). I also tried the webdav direct link

https://liascript.github.io/course/?nextcloud://cloudfiles.../public.php/dav/files/...

Am I missing something? Any ideas or help appreciated. Can you provide an example for a nextcloud shared md-file?

Best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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