feat: self-host HTMX 2.0.10 and Hyperscript 0.9.91, remove unpkg CDN
- Download htmx.min.js v2.0.10 and _hyperscript.min.js v0.9.91 locally - Update head-scripts.html to load from /static/ instead of unpkg CDN - Remove https://unpkg.com from CSP script-src whitelist - Update all documentation references to reflect self-hosted paths - No breaking changes: all hx-* attributes are HTMX 2.0 compatible
This commit is contained in:
@@ -147,7 +147,7 @@ static/hyperscript/
|
||||
<script type="text/hyperscript" src="/static/hyperscript/keyboard._hs"></script>
|
||||
<script type="text/hyperscript" src="/static/hyperscript/zoom._hs"></script>
|
||||
<script type="text/hyperscript" src="/static/hyperscript/pdf-modal._hs"></script>
|
||||
<script src="https://unpkg.com/hyperscript.org@0.9.14"></script>
|
||||
<script src="/static/hyperscript/_hyperscript.min.js"></script>
|
||||
```
|
||||
|
||||
## Required Functions
|
||||
@@ -288,5 +288,5 @@ end
|
||||
---
|
||||
|
||||
**Last Updated**: 2025-11-30
|
||||
**Hyperscript Version**: 0.9.14
|
||||
**Hyperscript Version**: 0.9.91
|
||||
**Status**: MANDATORY - ALWAYS FOLLOW
|
||||
|
||||
Reference in New Issue
Block a user