docs: 更新文档并添加项目图标
添加项目图标到README和文档首页 重构前端配置文档,移除冗余内容 新增管理后台部署指南文档 修改默认postSlug为完整URL路径
This commit is contained in:
@@ -11,8 +11,8 @@ const STORAGE_KEY = 'cwd-dev-config';
|
||||
const DEFAULT_CONFIG = {
|
||||
el: '#comments',
|
||||
apiBaseUrl: 'http://localhost:8788',
|
||||
postSlug: window.location.pathname,
|
||||
theme: 'light',
|
||||
postSlug: window.location.origin + window.location.pathname,
|
||||
theme: 'light', // 默认 light / dark
|
||||
};
|
||||
|
||||
let widgetInstance = null;
|
||||
|
||||
Reference in New Issue
Block a user