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

Internal network can not access outside javascipt file #500

Closed
samz-github opened this issue May 13, 2019 · 6 comments
Closed

Internal network can not access outside javascipt file #500

samz-github opened this issue May 13, 2019 · 6 comments

Comments

@samz-github
Copy link

samz-github commented May 13, 2019

I have setup Puppetboard inside internal network which can not acccess outside internet. As a result, some javascipt files can not be download through internet. And puppetboard become very slow! Can you provide option to advoid to download javascipt files from outside internet?

image

@volans-
Copy link
Contributor

volans- commented May 13, 2019

@samz-github see the OFFLINE_MODE settings and #464 for some additional context. In particular if you've installed it from PyPI see also #458 and #459.

I think this could be closed as duplicate of #464.

@samz-github
Copy link
Author

samz-github commented May 13, 2019

@volans- As the instructions e5c9b30, I have done these:

  1. Set the OFFLINE_MODE=True
  2. Replaced from external url to css/google_fonts.css on semantic.min.css
  3. Added css/google_fonts.css file
    It's faster now. But I still get the 500 error when try to get semantic.min.css, any wrong? And I found there's exceptions that template not found error about semantic.min.css.
    image

@volans-
Copy link
Contributor

volans- commented May 13, 2019

@samz-github the PyPI release unfortunately doesn't include e5c9b30, so either you apply it manually or install it from the repository at a later commit than the last release.
Join #426 to ask for a new release.

@samz-github
Copy link
Author

samz-github commented May 14, 2019

Awesome! After I replaced the puppetboard dir under Python site-packages dir with the lastest puppetboard dir on Gitlab, it works now. Thanks @volans- !

@larsnaesbye
Copy link
Contributor

Version 1.0.0 is out now with the changes included :-)

@samz-github
Copy link
Author

Well done! @larsnaesbye

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

3 participants