This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commits on Sep 9, 2020
-
Brings js-ipfs into line with go-ipfs by not having CORS on by default, instead requiring the user to explicitly configure it. BREAKING CHANGE: - CORS origins will need to be [configured manually](https://github.com/ipfs-inactive/js-ipfs-http-client#cors)
Configuration menu - View commit details
-
Copy full SHA for 64594a7 - Browse repository at this point
Copy the full SHA 64594a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5e0233 - Browse repository at this point
Copy the full SHA e5e0233View commit details -
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for 914dcd0 - Browse repository at this point
Copy the full SHA 914dcd0View commit details
Commits on Sep 10, 2020
-
chore: handle preflight correctly
Browsers send OPTIONS requests as preflight CORS checks when the client has done something like specified custom headers. Removes the blanket 405 handlers in order to use HAPI's default 404 when the preflight request-method is for a resource that does not exist, though retain the 405 behaviour if a request with a non-POST or non-OPTION method is actually received.
Configuration menu - View commit details
-
Copy full SHA for 2c1c506 - Browse repository at this point
Copy the full SHA 2c1c506View commit details -
chore: make 405 responses rfc7231 compliant
"The origin server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods." https://tools.ietf.org/html/rfc7231#section-6.5.5
Configuration menu - View commit details
-
Copy full SHA for c42bc16 - Browse repository at this point
Copy the full SHA c42bc16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62cddf6 - Browse repository at this point
Copy the full SHA 62cddf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0ad575 - Browse repository at this point
Copy the full SHA b0ad575View commit details
Commits on Sep 11, 2020
-
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for c667f14 - Browse repository at this point
Copy the full SHA c667f14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88c4a6f - Browse repository at this point
Copy the full SHA 88c4a6fView commit details
Commits on Sep 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 25e00e7 - Browse repository at this point
Copy the full SHA 25e00e7View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.