knockout.js - jQuery doesn't take https url -


i have problem doing ajax calls on https.

i'm using self-hosted webapi, listens on port 9000. index.html page loaded correctly, call api http again.

i've looked everywhere in javascript code, have given https-url once. cache problem? problem occurs in firefox, ie , chrome, hardly believe that. jquery prepare call before doing it?

the last piece of code url seems right here:

/**  * makes http request.  * @method  * @param {string} url url send request to.  * @param {object} [query] optional key/value object transform query string parameters.  * @param {object} [headers] data add request header.  converted json. if data contains knockout observables, converted normal properties before serialization.  * @return {promise} promise of response data.  */ get: function (url, query, headers) {     return $.ajax(url, { data: query, headers: ko.tojs(headers) }); } 

this console error:

enter image description here

i found it: unfortunately development environment goes directory testing environment... there wrong url.


Comments