Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上传文件"Unknown error" #225

Open
wz36125 opened this issue Jan 18, 2025 · 6 comments
Open

上传文件"Unknown error" #225

wz36125 opened this issue Jan 18, 2025 · 6 comments

Comments

@wz36125
Copy link

wz36125 commented Jan 18, 2025

调用/upload 400状态码 返回值"Unknown error"

@wz36125
Copy link
Author

wz36125 commented Jan 18, 2025

如果直接访问/upload页面,则会报错
Refused to execute script from 'https://telegraph-image-up.pages.dev/_nuxt/b94451d….js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
ChunkLoadError: Loading chunk 3 failed. (error: https://telegraph-image-up.pages.dev/_nuxt/b94451d….js) at l.e (318bf53….js:1:1012) at component (fbd198c….js:1:10404) at fbd198c….js:1:3019 at C (71ef7c3….js:2:111320) at Generator._invoke (71ef7c3….js:2:111108) at I.forEach.t.<computed> [as next] (71ef7c3….js:2:111500) at r (71ef7c3….js:2:66437) at l (71ef7c3….js:2:66640) at 71ef7c3….js:2:66699 at new Promise (<anonymous>)

@wz36125
Copy link
Author

wz36125 commented Jan 18, 2025

trycatch.ts:182 POST https://telegraph-image-up.pages.dev/upload 500 (Internal Server Error)
还会出现

@cf-pages
Copy link
Owner

我试了下,这个链接是可以正常上传的:https://525adf49.telegraph-image-up.pages.dev/

@wz36125
Copy link
Author

wz36125 commented Jan 18, 2025

我试了下,这个链接是可以正常上传的:https://525adf49.telegraph-image-up.pages.dev/

是的 刚刚我更新了你最新的代码,没更新前无效。。

@wz36125
Copy link
Author

wz36125 commented Jan 18, 2025

我试了下,这个链接是可以正常上传的:https://525adf49.telegraph-image-up.pages.dev/

然后我还发现 新版不能预览了,旧版还可以预览

@cf-pages
Copy link
Owner

我试了下,这个链接是可以正常上传的:https://525adf49.telegraph-image-up.pages.dev/

然后我还发现 新版不能预览了,旧版还可以预览

这是因为TG服务器那边的改动,后续看下这个预览需求高不高,如果比较多人需要的话可以加上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants