fedwiki / wiki-server

Federated Wiki client and server in Node.js
Other
153 stars 35 forks source link

Proxy request for site owner #125

Closed paul90 closed 7 years ago

paul90 commented 7 years ago

Part of the work exploring making wiki-client protocol agnostic. When we server the origin over https browers restrict access to non-secure resources, so we must fetch any remote resources over a secure connection as well.

Thus PR adds a /proxy route that fetches resources on behalf of the client that would not otherwise be available. We limit access to this route to the site owner.