Skip to content

Detect unexpected HTML responses for JSON requests

Erwan Rouchet requested to merge try-fix-typeerror into master
  • Removed a few TypeErrors found when an HTML string was stored where an element was expected
  • Used an Axios interceptor to detect unexpected content types and throw errors specifically on receiving HTML for JSON requests
  • Added UUID regexes on vue-router to completely remove the issue
Edited by Erwan Rouchet

Merge request reports

Loading