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

项目引入vue-pdf #402

Open
renjiangyang opened this issue Jan 17, 2023 · 0 comments
Open

项目引入vue-pdf #402

renjiangyang opened this issue Jan 17, 2023 · 0 comments

Comments

@renjiangyang
Copy link

1 直接访问可以加载pdf

2 通过nginx代理后,无法正常加载,如下
image

3 控制台输出
4a3c9b2f5c17d71a0921.worker.js:1 Warning: TT: undefined function: 3
image

4 ngxin配置如下
server {
listen 85;
server_name localhost85;
# 前端
location / {
root html/mypro;
try_files $uri $uri/ /index.html;
index index.html index.html;
}

}

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