charmbracelet / soft-serve

The mighty, self-hostable Git server for the command line🍦
MIT License
5.16k stars 127 forks source link

add CORS headers #517

Open fetsorn opened 3 months ago

fetsorn commented 3 months ago

Is your feature request related to a problem? Please describe. I needed to clone a soft served repo from the browser using isomorphic git, but browser requires CORS "*" header.

Describe the solution you'd like wrap the http handler in rs/cors to add CORS header "*"

pr in https://github.com/charmbracelet/soft-serve/pull/516