Skip to content

跨域情况下,OPTION类型的请求会被401阻止 #145

Description

@fan-ming-yi

What happened

Image

Reproduction

在带有AI功能的浏览器扩展中使用AI接口时,会发送预检OPTION,但是由于该项目的OPTION也要求认证,导致跨域失败

Versions

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions