这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Conversation

@jstarry
Copy link
Contributor

@jstarry jstarry commented Feb 1, 2020

Problem

Noticed in the "Break Solana" dapp that the browser was sending many pre-flight options requests. Turns out our RPC http server is not setting the Access-Control-Max-Age header

Summary of Changes

Set max duration (24hr) for cors max age

(verified this works)

Fixes #

@jstarry jstarry added the automerge Merge this Pull Request automatically once CI passes label Feb 1, 2020
@solana-grimes solana-grimes merged commit 69a6d07 into solana-labs:master Feb 1, 2020
@codecov
Copy link

codecov bot commented Feb 1, 2020

Codecov Report

Merging #8082 into master will increase coverage by <.1%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master   #8082     +/-   ##
========================================
+ Coverage      82%     82%   +<.1%     
========================================
  Files         249     249             
  Lines       53303   53304      +1     
========================================
+ Hits        43710   43714      +4     
+ Misses       9593    9590      -3

@mvines mvines added the v0.23 label Feb 1, 2020
mergify bot pushed a commit that referenced this pull request Feb 1, 2020
@jstarry jstarry deleted the set-rpc-max-age branch May 13, 2020 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants