eallion / memos.top

✍ A static page rendered with the Memos API.
https://memos-demo.vercel.app
Other
226 stars 102 forks source link

[已解决]无法显示内容 #16

Closed fsnhljz closed 1 year ago

fsnhljz commented 1 year ago

群辉docker搭建的mones。 github fork的页面

<!-- Your Memos API -->
<script type="text/javascript">
    var memos = {
        host: 'https://demo.usememos.com/',  // Your Memos, with '/' end.
        limit: '10',  // Pagination to show.
        creatorId: '1',  // The old instance is 101, and the new instance is 1. 
        domId: '#memos',  // Default #memos.
        username: 'cody',  // You can customize the display ID that is not related to memos.
        name: 'Official Demo',  // You can customize the displayed full name, that is not related to memos.

只修改过这里,无法显示内容 https://hillboy.org/memos/

fsnhljz commented 1 year ago

群辉docker搭建的mones。 github fork的页面

<!-- Your Memos API -->
<script type="text/javascript">
    var memos = {
        host: 'http://XXXXXX:5230/',  // Your Memos, with '/' end.
        limit: '10',  // Pagination to show.
        creatorId: '1',  // The old instance is 101, and the new instance is 1. 
        domId: '#memos',  // Default #memos.
        username: 'cody',  // You can customize the display ID that is not related to memos.
        name: 'Official Demo',  // You can customize the displayed full name, that is not related to memos.

只修改过这里,无法显示内容 https://hillboy.org/memos/

找到原因了,因为原来群辉没有https,所以GitHub启用了https不行。。。