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

Add header Access-Control-Max-Age for OPTIONS requests #9257

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

2234839
Copy link
Member

@2234839 2234839 commented Sep 24, 2023

Update serve.go

避免每次请求都发送预检请求。

对于 OceanPress 这类工具而言,能够获得更快的速度

Update serve.go

避免每次请求都发送预检请求。

对于 OceanPress 这类工具而言,能够获得更快的速度
@88250 88250 added this to the 2.10.7 milestone Sep 25, 2023
@88250 88250 merged commit 3c2f4e5 into siyuan-note:dev Sep 25, 2023
1 check passed
@88250 88250 changed the title add Access-Control-Max-Age by OPTIONS Add header Access-Control-Max-Age for OPTIONS requests Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants