Skip to content

Localize External CDN requests #407

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

Closed
kushwanth opened this issue Apr 1, 2025 · 2 comments
Closed

Localize External CDN requests #407

kushwanth opened this issue Apr 1, 2025 · 2 comments

Comments

@kushwanth
Copy link

Thank you for maintaining the project

Currently, App fetches some js libs from external CDN's which aren't loading in some wireguard configs.

Are there any plans to localize those libs during image build process to prevent external cdn requests in selfhosted setups?

@kushwanth
Copy link
Author

The simplest approach seems to be just downloading them and adding to code but I am not sure its scalable if we had to any more js libs in future

FuzzyGrim added a commit that referenced this issue Apr 22, 2025
- Replaced CDN links for Chart.js and its datalabels plugin with local static file references in statistics.html.
- Updated htmx, Alpine.js, and lazysizes library references to local static files in base.html.

#407
@FuzzyGrim
Copy link
Owner

Fixed in v0.22.0.

dannyvfilms pushed a commit to dannyvfilms/Yamtrack that referenced this issue Jun 5, 2025
- Replaced CDN links for Chart.js and its datalabels plugin with local static file references in statistics.html.
- Updated htmx, Alpine.js, and lazysizes library references to local static files in base.html.

FuzzyGrim#407
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

2 participants