`Source file was not JavaScript` error

Hi I’m getting below error in the issue page on web console.

There was 1 error encountered while processing this event
Source file was not JavaScript: http://<domain for CDN>/<somepath>/main.123456.js

This is pointing wrong domain.
My javascript resources is on the S3 bucket so it should be like below.

http://<domain for S3 Bucket >/<somepath>/main.123456.js

How can I control this domain Sentry refer to?
So that I don’t get this error and enable source mapping.