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

Don't throw error in CORS hook #36

Merged
merged 1 commit into from
Mar 16, 2016
Merged

Don't throw error in CORS hook #36

merged 1 commit into from
Mar 16, 2016

Commits on Mar 16, 2016

  1. Don't throw error in CORS hook

    Previously preflight requests would cause a TypeError in cors/index.js - see
    balderdashy#3662 for more information on how
    this occurs.
    
    Fixes the error by converting any `undefined` values to a dictionary before
    continuing processing- it's not perfect but it solves the problem.
    Kevin Burke committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    ef3f7de View commit details
    Browse the repository at this point in the history