mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
https://github.com/cskefu/cskefu/issues/833 tune port detect on schema
This commit is contained in:
parent
ce6f3a1e7f
commit
01065b151d
@ -13,5 +13,7 @@
|
|||||||
//- limitations under the License.
|
//- limitations under the License.
|
||||||
if (appid)
|
if (appid)
|
||||||
include loader.js
|
include loader.js
|
||||||
- var baseUrl = (schema?schema:'http')+'://' + hostname + ':' + port
|
- var schemaFixed = schema ? schema : 'http'
|
||||||
|
- var portFixed = schemaFixed == "https" ? 443 : port
|
||||||
|
- var baseUrl = schemaFixed + '://' + hostname + ':' + portFixed
|
||||||
| chatoperaLoad('!{baseUrl + "/im/point/" + appid + ".html"}')
|
| chatoperaLoad('!{baseUrl + "/im/point/" + appid + ".html"}')
|
Loading…
x
Reference in New Issue
Block a user