eallion / memos.top

✍ A static page rendered with the Memos API.
https://memos.top
Other
208 stars 93 forks source link

配置问题 #10

Closed thedavidweng closed 1 year ago

thedavidweng commented 1 year ago

您好,根据文档修改了 host: 'https://demo.usememos.com/', //修改为自己部署 Memos 的网址,末尾有 / 斜杠 但是由于不理解 creatorId: '101', //默认为 101用户 https://demo.usememos.com/u/101domId: '#memos', //默认为 #memos 所以没有进行修改,部署后网站没有获取到内容 请问需要怎么配置?需要修改 js 文件吗? 我的repo

eallion commented 1 year ago

creatorId: '101' 改为: creatorId: '1' 试试,新版本的 Memos 默认用户是从 1 开始的。老版本的是 101

eallion commented 1 year ago

另外可以重新 fork 一下最新的仓库。修改有点多。

thedavidweng commented 1 year ago

谢谢,解决了,请问 Avatar 在哪里修改?

eallion commented 1 year ago

替换掉https://github.com/thedavidweng/memos.top/tree/main/assets/img目录下面的图片就可以了。

thedavidweng commented 1 year ago

感谢!