Hi all,
I am having a major issue whilst accessing a page through webserver domain on local environment- Even though JS is getting cached correctly in dispatcher ,however, whilst accessing a page through domain the JS doesn’t load completely in browser and an error is also shown in console which is making many components on the page dysfunctional.
For instance, JS in dispatcher and publisher ends like below:
j();
a(this)
})
}catch(d){b(d,"Could not initialize the banners")
}}catch(d){b(d,"Init failed")
}});
However, In browser its only fetched upto something like below; last few characters go a miss causing syntax error.
j();
a(this)
})
}catch(d){b(d,"Could not initialize the banners")
}}
Browser console shows:
this only happens when I access the page from webserver(dispatcher)- I don't get any error whilst accessing a page on author or publish instance.
I thought this has something to do with minification, but even after turning off minification I am facing the same issue so will rule out this possibility.
this is happening for more than one JS file? Is it something to do with dispatcher configurations??
also, when I access the URL with query parameter ?debugClientLibs=true Though, I get lots of error in browser console but all the components work as expected.
Can anyone please help here?
Thanks