gitlab链接可正常访问,但是仓库没东西

问题描述

发现昨天写的文档未保存,有几个图片弄起来比较麻烦,markdown配置了PicGo上传到了gitlab,于是准备去gitlab找一下昨天的图片,但是发现gitlab对应的仓库是空的!

在这里插入图片描述
markdown文档里其他图片的链接都正常,而且我试了用手机流量、电脑浏览器打开这个链接,可正常看到图片!
在这里插入图片描述
在这里插入图片描述
找的仓库肯定没问题,我有gitlab管理员账号,只能搜到这一个仓库
在这里插入图片描述


原因分析:

未知,望大佬指点

我直接在仓库上传了一张图片
在这里插入图片描述

http://gitlab.***.cn/***-public/markdown-resource/-/raw/master/%E5%A4%B4%E5%83%8F.jpg

用此链接可访问到,而picgo上传的图片路径如下,不一样

http://gitlab.***.cn/***-public/markdown-resource/uploads/fad715525307ae930882bfb2c46d248f/202211161548738.png 

我将picgo上传的图片路径后面去掉,浏览器直接访问

http://gitlab.***.cn/***-public/markdown-resource/uploads/

http://gitlab.***.cn/***-public/markdown-resource/uploads/fad715525307ae930882bfb2c46d248f/

均会报404,无法访问

所以这些上传的图片存到了哪里?为什么仓库是空的,却能访问到?


解决方案:

最后是在picgo的日志里,找到了链接,好在是不用重新造数据截图了,但是上面的问题还是存在,不知道为啥

2022-11-16 15:48:45 [PicGo INFO] [PicGo Server] get the request {"list":["C:\\Users\\25463\\AppData\\Roaming\\Typora\\typora-user-images\\image-20221116154844347.png"]} 
2022-11-16 15:48:45 [PicGo INFO] [PicGo Server] upload files in list 
2022-11-16 15:48:45 [PicGo INFO] Before transform 
2022-11-16 15:48:45 [PicGo INFO] Transforming... Current transformer is [path] 
2022-11-16 15:48:45 [PicGo INFO] Before upload 
2022-11-16 15:48:45 [PicGo INFO] beforeUploadPlugins: renameFn running 
2022-11-16 15:48:47 [PicGo INFO] Uploading... Current uploader is [gitlab] 
2022-11-16 15:48:47 [PicGo SUCCESS] 
http://gitlab.***.cn/***-public/markdown-resource/uploads/fad715525307ae930882bfb2c46d248f/202211161548738.png 
2022-11-16 15:50:27 [PicGo INFO] [PicGo Server] get the request {"list":["C:\\Users\\25463\\AppData\\Roaming\\Typora\\typora-user-images\\image-20221116155025949.png"]} 
2022-11-16 15:50:27 [PicGo INFO] [PicGo Server] upload files in list 
2022-11-16 15:50:27 [PicGo INFO] Before transform 
2022-11-16 15:50:27 [PicGo INFO] Transforming... Current transformer is [path] 
2022-11-16 15:50:27 [PicGo INFO] Before upload 
2022-11-16 15:50:27 [PicGo INFO] beforeUploadPlugins: renameFn running 
2022-11-16 15:50:28 [PicGo INFO] Uploading... Current uploader is [gitlab] 
2022-11-16 15:50:28 [PicGo SUCCESS] 
http://gitlab.***.cn/***-public/markdown-resource/uploads/d8639952349151eee95cef040c76047e/202211161550099.png 
2022-11-16 15:52:52 [PicGo INFO] [PicGo Server] get the request {"list":["C:\\Users\\25463\\AppData\\Roaming\\Typora\\typora-user-images\\image-20221116155251226.png"]} 
2022-11-16 15:52:52 [PicGo INFO] [PicGo Server] upload files in list 
2022-11-16 15:52:52 [PicGo INFO] Before transform 
2022-11-16 15:52:52 [PicGo INFO] Transforming... Current transformer is [path] 
2022-11-16 15:52:52 [PicGo INFO] Before upload 
2022-11-16 15:52:52 [PicGo INFO] beforeUploadPlugins: renameFn running 
2022-11-16 15:52:53 [PicGo INFO] Uploading... Current uploader is [gitlab] 
2022-11-16 15:52:53 [PicGo SUCCESS] 
http://gitlab.***.cn/***-public/markdown-resource/uploads/dcf4a27590e18ac7e5df446a093ef067/202211161552248.png 
2022-11-16 15:53:23 [PicGo INFO] [PicGo Server] get the request {"list":["C:\\Users\\25463\\AppData\\Roaming\\Typora\\typora-user-images\\image-20221116155322731.png"]} 
2022-11-16 15:53:23 [PicGo INFO] [PicGo Server] upload files in list 
2022-11-16 15:53:23 [PicGo INFO] Before transform 
2022-11-16 15:53:23 [PicGo INFO] Transforming... Current transformer is [path] 
2022-11-16 15:53:23 [PicGo INFO] Before upload 
2022-11-16 15:53:23 [PicGo INFO] beforeUploadPlugins: renameFn running 
2022-11-16 15:53:24 [PicGo INFO] Uploading... Current uploader is [gitlab] 
2022-11-16 15:53:24 [PicGo SUCCESS] 
http://gitlab.***.cn/***-public/markdown-resource/uploads/93740ccd1104aa89930678459d91655c/202211161553769.png 

必须贴代码,不贴代码,就是质量差,影响推荐,CSDN真NC

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

阿狸尬多

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值