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

fix: Updated handling of one or many custom_error_response values #89

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

antonbabenko
Copy link
Member

@antonbabenko antonbabenko commented Nov 14, 2022

Fixes #88

Valid inputs:

  custom_error_response = {
    error_code         = 404
    response_page_path = "/errors/404.html"
  }

or

  custom_error_response = [{
    error_code         = 404
    response_page_path = "/errors/404.html"
  }, {
    error_code         = 403
    response_page_path = "/errors/403.html"
  }
  ]

@antonbabenko antonbabenko merged commit 0945c77 into master Nov 14, 2022
@antonbabenko antonbabenko deleted the fix-custom-error-code branch November 14, 2022 14:41
antonbabenko pushed a commit that referenced this pull request Nov 14, 2022
### [3.0.2](v3.0.1...v3.0.2) (2022-11-14)

### Bug Fixes

* Updated handling of one or many custom_error_response values ([#89](#89)) ([0945c77](0945c77))
@antonbabenko
Copy link
Member Author

This PR is included in version 3.0.2 🎉

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

custom_error_response dynamic block does not work
1 participant