Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]条件跨域请求约束添加 #206

Merged
merged 4 commits into from
Sep 3, 2024
Merged

Conversation

phidiaLam
Copy link
Member

No description provided.

@AzideCupric AzideCupric closed this Sep 3, 2024
@AzideCupric AzideCupric reopened this Sep 3, 2024
@Goodjooy Goodjooy changed the title ✨ 鉴权中间件更改 [feat]条件跨域请求约束添加 Sep 3, 2024
ConditionCors {
bypass_cors: self.bypass_cors.layer(inner.clone()),
default_cors: self.default_cors.layer(inner),
bypass_paths: self.bypass_paths.clone(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里建议使用Arc::clone 来指定调用Arc的拷贝

@Goodjooy Goodjooy merged commit bcef6fb into master Sep 3, 2024
1 check passed
@Goodjooy Goodjooy deleted the feat-修改跨域中间件 branch September 3, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants