mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-21 14:34:43 +00:00
updating condition
Forgot to bring condition along
This commit is contained in:
parent
079248f47d
commit
39e5f1210a
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
}
|
||||
|
||||
// assign request handler based on protocol
|
||||
var reqHandler = (oURL.protocol.indexOf('https:') ) ? HTTPS : HTTP,
|
||||
var reqHandler = (oURL.protocol.indexOf('https:') === 0 ) ? HTTPS : HTTP,
|
||||
req = reqHandler.request({
|
||||
hostname: oURL.hostname,
|
||||
port: oURL.port,
|
||||
|
|
|
|||
Loading…
Reference in a new issue