Jerry Qu

Results 13 comments of Jerry Qu

哈哈,你们的博客都是一个模子印出来的。

可以开发一些不同风格的主题啊。 比如极简的: http://forsigner.com/archives/ 配图的: https://www.linpx.com/

@haozime 发现你的「本文链接」有问题,端口暴露了。。

@lizheming https://haozi.me/post/uglify2%20%E7%9A%84%E4%B8%80%E4%B8%AAbug.html

貌似 CentOS 的 `openssl.cnf` 默认在这里: ``` /usr/local/openssl/ssl/openssl.cnf ```

奇怪!我刚试了一下,如果本地 web server 返回 404,通过 server 访问也会是 404,程序不会挂掉啊。

呃 是一开始就不可用,还是能用但过一会儿会挂?@billychow

> 正常的origin应该是? 正常应该是等于当前域名。 例如 `code.juejin.cn` 是这样: ![image](https://user-images.githubusercontent.com/285369/183706922-0f8f7221-56b7-4b2b-940f-9337b5af01db.png) `juejin.cn` 是这样: ![image](https://user-images.githubusercontent.com/285369/183707116-00d737d3-e2f8-4a49-bf92-f6f4918361e4.png) 请求头中的 `origin` 字段,由浏览器发起跨域请求时自动添加。

看了下这里的函数定义,https://github.com/wechatsync/Wechatsync/blob/master/packages/web-extension/src/runtime.js#L174 是不是可以这么改?如果一个请求自带 origin,就不去修改;如果没加 origin,再补上。

https://medium.com/@cwRichardKim/how-to-get-hundreds-of-stars-on-your-github-project-345b065e20a2