Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/js-ipfs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ipfs/js-ipfs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release/v0.54.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 20 files changed
  • 3 contributors

Commits on May 7, 2021

  1. fix: reject requests when cors origin list is empty (#3674) (#3676)

    * fix: reject requests when cors origin list is empty (#3674)
    
    If CORS origin list is empty, Hapi throws an error as it considers
    that to be invalid configuration.
    
    We want to reject requests that send and origin or a referer when
    no allowed origins have been configured, so when these headers are
    sent, reject the request if no allowed origins are present in the
    config.
    
    Co-authored-by: Vasco Santos <[email protected]>
    Co-authored-by: Marcin Rataj <[email protected]>
    
    * chore: ts-ignore until #3655 lands
    
    Co-authored-by: Vasco Santos <[email protected]>
    Co-authored-by: Marcin Rataj <[email protected]>
    3 people authored May 7, 2021
    Configuration menu
    Copy the full SHA
    3e67f0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7e44c2 View commit details
    Browse the repository at this point in the history
Loading