Kodbox 绑定域名

使用反向代理之后访问kodbox页面部分元素引用的链接还是源站的地址,导致页面不能正常加载,所以需要修改 config.php 文件:

将: if(!defined('HOST')){ define('HOST',rtrim(get_host(),'/').'/');} 修改为 if(!defined('HOST')){ define('HOST',rtrim('http://784040932.cnblogs.com/','/').'/');} 

补充:

修改 setting.php 文件:

将: 'listType' => "icon", // list||icon||split 修改为 'listType' => "list", // list||icon||split 

posted @ 2021-10-21 10:21  784040932  阅读(258)  评论(0编辑  收藏  举报