1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00
forgejo/routers/api
wxiaoguang b41925cee3
Refactor CORS handler (#28587)
The CORS code has been unmaintained for long time, and the behavior is
not correct.

This PR tries to improve it. The key point is written as comment in
code. And add more tests.

Fix #28515
Fix #27642
Fix #17098
2023-12-25 20:13:18 +08:00
..
actions Added instance-level variables (#28115) 2023-12-25 07:28:59 +00:00
packages Add endpoint for not implemented Docker auth (#28457) 2023-12-13 15:23:53 -05:00
v1 Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00