i'm using a Google Cloud Storage regional bucket to host my javascript files. They were working fine worldwide before, but now they are only working when accessed from regional ips (South American), and international IPs get a slightly modified javascript file.
The bucket has no versioning, and the file is hashed, so it was only uploaded once.
The file in question can be accessed by this link: https://www.googleapis.com/download/storage/v1/b/hassets/o/all%2FViewer-7315d2224c220a45ad8e.js?generation=1530894418059107&alt=media
When accessed via South American IPs (where the bucket is located), it will have the following string once: closeAfter(500)()
But when accessed elsewhere this string will be modified to: closeAfter(500)(,"gl")
, thus breaking the script.
Is this supposed to happen? Is there any way for me to fix it?