Ckeditor Ckfinder https 沒法瀏覽伺服器及上傳問題
2024/03/16 02:05
就可以正常使用了
文章出處
改成
網站架設
- $baseUrl = 'https://'.$_SERVER['HTTP_HOST'].'/attachments/';
網站架設
複製代碼
改成
到ckfinder目錄下,找到config.php
- $baseUrl = 'http://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
本日把http轉成https
到後台編纂時發現無法瀏覽伺服器及上傳圖片

到ckeditor目次下,找到config.js
網站架設
- baseurl = 'http://'+window.location.hostname;
複製代碼
網站架設
- baseurl = 'https://'+window.location.hostname;
複製代碼