Closed MC-dusk closed 1 year ago
Try to add a proxy before it
But the smms has a domain (smms.app) that can be visited in China mainland. What if upgit supports that?
need to check its api response format---- On Mon, 2022-12-05 20:49:39 ***@***.***> wrote ----
But the smms has a domain (smms.app) that can be visited in China mainland. What if upgit supports that?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Ok, something interesting happened:
Failed: rawUrl path is not valid: for path data.url, key data not found
(like the first comment), this is due to the typora's test pic I think, using proxy can't solve that, but uploading my pic in typora directly is fine.The system cannot find the file specified
. I think it's the upgit's bug because the readme didn't write that I should put a "extensions" folder.smms.jsonc
and smms2.jsonc
in the "extensions" folder, the former is https://sm.ms/api/v2/upload
and the latter is https://smms.app/api/v2/upload
, and now I can upload pic without a proxy.
open C:\Users\zzz\AppData\Roaming\Typora\extensions: The system cannot find the file specified.
这是要自己新建一个文件夹extensions,然后下载代码库里面对应的比如
smms.jsonc
放进去?readme里面没写啊。而且做了以上步骤还是不行,
Post "https://sm.ms/api/v2/upload": net/http: TLS handshake timeout
,我猜是被樯了?smms.jsonc
里面换成smms.app
域名也不行,换成"url": "https://smms.app/api/v2/upload",
,报错Failed: rawUrl path is not valid: for path data.url, key data not found
。到底该怎么办,整了一下午快自闭了。