laziji

VBlog 纯前端博客 2018.5.15 更新

  •  1
     
  •   laziji · May 15, 2018 · 1203 views
    This topic created in 3034 days ago, the information mentioned may be changed or developed.

    相关链接

    更新

    • 粉丝页面优化
    • 配置增加是否自动播放音乐
    • 去除默认音乐

    开发说明

    说一下这几天收到的问题

    在本地开发的时候无法修改配置文件的问题

    这是因为配置文件读取的总是与 index.html 同级的 ./static/configuration.json

    所以本地开发读取的是源码文件下 /static/configuration.json

    而修改的时候修改的是通过 github-api 修改 ${username}.github.io 下的 /static/configuration.json

    这的时候会出现修改配置无效的情况 (如果没有${username}.github.io 这个仓库则会出现找不到文件的错误)

    如果需要修改的话修改本地的配置文件就行, 发布到 github 之后就不影响了

    火狐截图_2018-05-15T13-39-02.906Z.png

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2635 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 11:11 · PVG 19:11 · LAX 04:11 · JFK 07:11
    ♥ Do have faith in what you're doing.