Skip to content

Bug?暴露 Client_id和Client_secret ? #150

@ithou

Description

@ithou

配置gitalk时,在主题配置 _config.yml 文件中有这样部分代码:

gitalk:
    enable: true
    github_user: xx
    github_repo: xx
    admin: xx
    client_id: asdnaslkndassad7sd8s7ds6d  ##我随便编的
    client_secret: 32alu9sds9sd094e7044a3e55   ##我随便编的

如果这样写好,直接 hexo g -d 的话,不就在历史提交记录commits里向外暴露了Client_id和Client_secret吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions