随笔分类 -  Web

apache/nginx
 
git push 时报错 remote: The project you were looking for could not be found.
摘要:原先的库被停用了之后, 只能将远程服务器上的项目代码上传到新的git地址上, 步骤. 1. 删除并添加新的远程仓库地址 或者修改远程仓库地址, git remote rename origin old-origin git remote add origin https://xxxxxxx.com/ 阅读全文
posted @ 2021-06-09 16:11 海棠亭畔 阅读(3251) 评论(0) 推荐(0)
解决 iframe Content Security Policy directive 错误
摘要:最近项目上要加一个视频播放功能, 添加完之后点击报错如下 Refused to display 'https://api.baidu.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'. 查找了一番, 解决方法如下 #N 阅读全文
posted @ 2021-05-14 09:28 海棠亭畔 阅读(15033) 评论(0) 推荐(0)