Trying out Elastic APM for distributed tracing with a react front end (http://local.testrum.com:3000) served by springboot backend (http://local.testrum.com:8106)
Observe the following
Could not inject distributed tracing header to the request origin ('http://local.testrum.com:8106') from the current origin ('http://local.testrum.com:3000')
React configuration
<script src="http://local.testrum.com:3000/elastic-apm-rum.umd.js" crossorigin></script>
  <script>
    elasticApm.init({
      serviceName: 'reactapp',
      logLevel: 'debug',
      serverUrl: 'http://local.testrum.com:8200',
      distributedTracing:true,
      distributedTracingOrigins: ['http://local.testrum.com']
    })
  </script>
APM Server
rum:
    enabled: true
Please advice