CloudFront CDN issue with METEOR Galaxy

Hey Guys!
I am trying to enable CDN(CloudFront) with my Meteor app hosted on galaxy.
We have included the below in our main.js at serverside in Meteor.startup method

WebAppInternals.setBundledJsCssUrlRewriteHook((url) => {
     `https://d2d8cat7gek58h.cloudfront.net${url}&_g_app_v_=${process.env.GALAXY_APP_VERSION_ID}`;
});

When we hit our distribution url everything is going fine.
Problem comes when we hit our own domain url.
Scenario 1 (Everything goes fine):
When I hit distribution url and If I look at the HTML page rendered there is a script tag in body.
When I copy the src of that script tag and request that in POSTMAN I get back the JavaScript content with mimetype as “application/javascript”

Scenario 2 (Problem ):
When I look at the HTML that got loaded in my page. It has a script tag in body which loads my JS bundle file.
When I copy the src url of that script tag and request that in POSTMAN I get back HTML content (index.html file) with mime type as “text/html”. This HTML is the same which I got in scenario 1. This HTML has script tag in body and when I copy the src url of that I am getting the right JS Bundle file.

I somehow feel that instead of JS, HTML file got cached in JS file in CDN.

Thanks,
Koti