Plume-org / Plume

Federated blogging application, thanks to ActivityPub (now on https://git.joinplu.me/ — this is just a mirror)

Home Page:https://joinplu.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pictures using markdown format do not show with external link

pullopen opened this issue · comments

Pictures do not show with markdown external link.

For example: https://plume.pullopen.xyz/~/FlyoverFanfic/test does not show anything on chrome.

I suppose it might be a strict-origin-when-cross-origin problem.

  • Plume version: 0.6.1-dev
  • Operating system: Windows or Android
  • Web Browser:: Chrome or Firefox private mode

I find a way to fix this: add these in nginx configuration location / { part:

    if ($request_method ~* "(GET)") {
      add_header "Access-Control-Allow-Origin"  *;
    }

Then it will be fixed.

I think the documentation should be updated.