spacebarchat / server

Spacebar server - A reimplementation of the Discord.com backend, built with Typescript and love
https://spacebar.chat
GNU Affero General Public License v3.0
1.49k stars 250 forks source link

Built-in image proxy fixes #1199

Closed DEVTomatoCake closed 3 months ago

DEVTomatoCake commented 3 months ago

I've missed a few things in #1126:

  1. Proxy shouldn't require auth because it's not really possible to handle that in clients across domains
  2. Imagor leaves out the protocol in the proxy URL, therefore the proxy has to re-add it. Given that SSL is quite common nowadays using https:// should be fine.