Resolve #3515617 "Balsama"
This MR accounts for customizations to jsonapi.base_path and running Drupal in a subdirectory in the JS app and PHP code.
This MR accounts for customizations to jsonapi.base_path and running Drupal in a subdirectory in the JS app and PHP code.