I was bundling a group of .js files and when it was rendered, since my site is using HTTPS, an error occurred since the site requested a script though HTTP, which is the link for the bundle.
Hmm from what I can find it will use the same HTTP scheme as the one used to request the main page, any chance I can take a look at the site tim at nibble dot be
Optimus Bundle Link Rendering for HTTPS
Hi Guys,
I was bundling a group of .js files and when it was rendered, since my site is using HTTPS, an error occurred since the site requested a script though HTTP, which is the link for the bundle.
Any idea how to slve it.?
Thanks you.
Checking now, might be a setting we need to switch somewhere
Hmm it should render a relative path, how does the script tag look that gets rendered?
Currently, I using this:
. Locally is working fine, obliviously, but online not.
I also tried the just RenderScript method.
And how does the rendered result look? I thought it was relative
http://mywebsite.com/bundles/mybundle/...........
Hmm from what I can find it will use the same HTTP scheme as the one used to request the main page, any chance I can take a look at the site tim at nibble dot be
Appreciate any solution.
Thanks Tim
Hi
Any solution to this? Im getting the same problem. Ive setup a self signed cert locally to mimic HTTPS and works fine.
When i deploy to the liver server i,m getting lots of 404 errors and errors pertaining to files being served over HTTP and not HTTPS
Cheers Neil.
Ok seem's in my case there was a problem with a url re write rule.
The rule was adding a trailing slash, see below how i negated the bundles folder.
Hope this may help someone in the future if they experience the same problem.
Thanks for sharing the problem and solution :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.