LiuShen / 通过cloudflare Worker创建github api中间件
0 likes
0 forks
1 files
Last active
通过cloudflare Worker创建github api中间件,在隐藏token的情况下获取仓库提交信息
1 | /** |
2 | * Welcome to Cloudflare Workers! This is your first worker. |
3 | * |
4 | * - Run "npm run dev" in your terminal to start a development server |
5 | * - Open a browser tab at http://localhost:8787/ to see your worker in action |
6 | * - Run "npm run deploy" to publish your worker |
7 | * |
8 | * Learn more at https://developers.cloudflare.com/workers/ |
9 | */ |
LiuShen / artalk实现前端上传图片
1 likes
0 forks
1 files
Last active
hexo-theme-butterfly中,artalk实现前端上传图片,不使用upgit(不会QAQ,如果有谁会请联系我呜呜呜)
1 | // 请使用该文件替换“[root]\themes\butterfly\layout\includes\third-party\comments\artalk.pug” |
2 | - const { server, site, option } = theme.artalk |
3 | - const { use, lazyload } = theme.comments |
4 | |
5 | script. |
6 | (() => { |
7 | let artalkItem = null |
8 | const option = !{JSON.stringify(option)} |
9 | const isShuoshuo = GLOBAL_CONFIG_SITE.pageType === 'shuoshuo' |
Newer
Older