Commit 2c4a319
Use same CORS policy for /@:username and /users/:username (mastodon#9485)
Fixes mastodon#8189
rack-cors being called before the application router, it does not follow
the redirection, and we need a separate rule for /users/:username.1 parent 26e632a commit 2c4a319
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments