-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(next-drupal): translatePath, getResourceByPath - throw error whe…
…n backend error Until now, any not-ok response from decoupled router was treated equally, as a 404 Not Found. Behaviour is changed differentiating between 404 Not Found and server error. The advantage is frontend holds to previous built page and doesn't update public page content with a 404 due to backend issues. BREAKING CHANGE: Might break sites relying on response being the same in 404 than in 50x. Fixes #687
- Loading branch information
Showing
2 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters