Open Closed

Docs Module: private repository can't display image #6906


User avatar
0
yinchang created
  • ABP Framework version: v8.0.4
  • UI Type: MVC
  • Database System: SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Image file cant display
  • Steps to reproduce the issue: Step 1. Follow reference : https://docs.abp.io/en/abp/latest/Modules/Docs

Step 2.Add Abp document, It's works fine

Step3. Add new Project(It's private repository in GitHub), markdown file can pull successfully but image can't display

I'm sure that i already upload img(in github website can see those image) to github and repository is pravite( i can't make my project to be public) here is my image link like below:

![further-remote](../images/further-remote.png)

PS: I know i can host another static web to accese image,but it's seem to be duplicate


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can get the MD file with your GitHub access token. That's no problem. But for images, you can't add the token to the request.

    I think you can replace the URL of these images to redirect to your website instead of GitHub. On your website, you can pass the token to get the images from the Github private repo.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09