Load resources with URL starting with //

In my game I have to load the game resources from a custom location.
Which was provided to the game by an external source.

So I have modified the main.js file resource loading like this;

cc.assetManager.loadBundle( window.serverPath + bundleRoot[i], cb);

If the path is like this


The assets loads correctly.

But the external source is giving me the path like this;

The assets does not load correctly in this case.

According to this post, this is valid
Is a URL starting with // valid?

Is there a way to use this type of URL in resource loading ?

@wijesijp What version of Creator are you using?