- baseurl = 'https://'+window.location.hostname;
複製代碼
就可以正常利用了
文章出處
- baseurl = 'http://'+window.location.hostname;
複製代碼
改成
今日把http轉成https
到後台編纂時發現沒法瀏覽伺服器及上傳圖片
到ckeditor目錄下,找到config.js
網站架設
- $baseUrl = 'https://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
到ckfinder目次下,找到config.php
改成
- $baseUrl = 'http://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
留言列表