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 pdf template resources url #557

Closed
wants to merge 1 commit into from
Closed

fix pdf template resources url #557

wants to merge 1 commit into from

Conversation

CzBiX
Copy link

@CzBiX CzBiX commented Oct 1, 2014

No description provided.

'<script type="text/x-mathjax-config">',
'MathJax.Hub.Config({ messageStyle: "none" });',
'</script>',
'<script type="text/javascript" src="http:https://localhost/res/bower-libs/MathJax/MathJax.js?config=TeX-AMS_HTML"></script>',
'<script type="text/javascript" src="https:https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is mathjax in line 44/45 related to 'fix pdf' ?

@benweet
Copy link
Owner

benweet commented Oct 4, 2014

Can you explain a bit the issue and the fix?

@CzBiX
Copy link
Author

CzBiX commented Oct 5, 2014

@benweet When stackedit not listened 80 port, the wkhtmltopdf will not found the js/css in the url. That will cause failed export to PDF.
I was run stackedit with 3000 port, and used nginx as front proxy. the localhost not pointed to stackedit. Then I met the problem.

@benweet
Copy link
Owner

benweet commented Oct 12, 2014

Fair enough, but I prefer not to have external traffic on the production server.

@benweet benweet closed this Oct 12, 2014
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