fix
This commit is contained in:
parent
d2d97dc4aa
commit
3e3622fb7d
@ -1078,6 +1078,7 @@ func encodeListUserCardResponse(response ListUserCardRes, w http.ResponseWriter,
|
||||
}
|
||||
|
||||
func encodeListUserMaResponse(response ListUserMaRes, w http.ResponseWriter, span trace.Span) error {
|
||||
w.Header().Set("Access-Control-Allow-Origin", "https://manga.syui.ai")
|
||||
switch response := response.(type) {
|
||||
case *ListUserMaOKApplicationJSON:
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
|
@ -1078,6 +1078,7 @@ func encodeListUserCardResponse(response ListUserCardRes, w http.ResponseWriter,
|
||||
}
|
||||
|
||||
func encodeListUserMaResponse(response ListUserMaRes, w http.ResponseWriter, span trace.Span) error {
|
||||
w.Header().Set("Access-Control-Allow-Origin", "https://manga.syui.ai")
|
||||
switch response := response.(type) {
|
||||
case *ListUserMaOKApplicationJSON:
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
|
Loading…
Reference in New Issue
Block a user