-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Use the path ending with /
when loading the widget
#10520
Comments
挂件的地址手动带上 |
我先关闭了,如果还有问题请继续跟帖,谢谢 🙏 |
我是nginx 转发的.没办法手动带上 / 呢 挂件都是第三方开发的 |
应该让siyuan这边直接不要301跳转 或者设置增加一个 / |
插入挂件的时候手动微末加上 / 试试 |
emmm 选择了挂件就自动插入了 貌似没有看到能够在加上/的地方 |
点击挂件块块标,菜单里面有。 |
抱歉,我记错了,记成和 iframe 块一样了。稍后我看看能不能直接就请求带 / |
还有一个304 响应导致500报错的问题 建议在文档中写一个nginx反向代理设置以下两个能解决
现在就差这个301的错误解决了 反向代理就没啥问题了 |
/
when loading the widget
88250
added a commit
that referenced
this issue
Mar 13, 2024
这个修复不做已有数据订正,所以只有新插入的挂件才会以 / 结尾,请悉知。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
挂件访问地址301跳转导致nginx反向代理会报错500的问题
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
思源挂件默认访问地址为 /widgets/drawio
然后他会301自动跳转到 /widgets/drawio/
思源使用了nginx反向代理之后 此操作会导致nginx 500报错
Expected result
要么访问地址直接已 / 结尾
Screenshot or screen recording presentation
Version environment
Log file
none
More information
No response
The text was updated successfully, but these errors were encountered: