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

fix CORS issues in preview page. 修复文章预览页面跨域问题 #1400

Merged
merged 1 commit into from Apr 15, 2022
Merged

fix CORS issues in preview page. 修复文章预览页面跨域问题 #1400

merged 1 commit into from Apr 15, 2022

Conversation

Valpha
Copy link
Contributor

@Valpha Valpha commented Apr 14, 2022

Add 'allow-same-origin' into sandbox's attrs to fix that the article preview page does not match the real page.

给预览时的sandbox添加"allow-same-origin",来避免跨域导致资源加载失效问题

Add 'allow-same-origin' into sandbox's attrs to fix that the article preview page does not match the real page.
@joyqi joyqi merged commit 9fd0252 into typecho:master Apr 15, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants