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

Fix HEAD requests for no authorization routes #1203

Closed DEVTomatoCake closed 2 months ago

DEVTomatoCake commented 2 months ago

I broke this in #1197 .-.

HEAD requests should still be allowed, even if they're not specified in the list of allowed methods. Not sure how to automate it with regex, so it has to be added manually for now.