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

使用pdfjs遇到html页面打不开的问题 #7767

Open
Ada-wxr opened this issue Jan 24, 2025 · 0 comments
Open

使用pdfjs遇到html页面打不开的问题 #7767

Ada-wxr opened this issue Jan 24, 2025 · 0 comments

Comments

@Ada-wxr
Copy link

Ada-wxr commented Jan 24, 2025

在pdfjs官网下载文件放在目录public文件夹下,页面iframe需要访问public文件夹下的html页面,但是每次打开都在iframe里又一次加载了一遍项目,且页面显示404.仿佛访问根目录静态资源被路由拦截,请问如何能访问到静态资源下的html页面。

Image

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

1 participant