mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-19 16:30:15 +00:00
Handle CORS requests (#6289)
This commit is contained in:
parent
6fb58a8cdc
commit
34d06f4c6b
170 changed files with 5220 additions and 2124 deletions
2
vendor/github.com/Unknwon/com/slice.go
generated
vendored
2
vendor/github.com/Unknwon/com/slice.go
generated
vendored
|
@ -44,7 +44,7 @@ func CompareSliceStr(s1, s2 []string) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// CompareSliceStr compares two 'string' type slices.
|
||||
// CompareSliceStrU compares two 'string' type slices.
|
||||
// It returns true if elements are the same, and ignores the order.
|
||||
func CompareSliceStrU(s1, s2 []string) bool {
|
||||
if len(s1) != len(s2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue