Skip to content

Commit f1cc346

Browse files
authored
Merge pull request #599 from AnswerDotAI/cdn_changes
CDN changes
2 parents 6e7b2a4 + ee56149 commit f1cc346

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

fasthtml/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,12 +441,12 @@ async def _wrap_call(f, req, params):
441441
"multi-swap": "https://unpkg.com/[email protected]/multi-swap.js",
442442
"path-deps": "https://unpkg.com/[email protected]/path-deps.js",
443443
"remove-me": "https://unpkg.com/[email protected]/remove-me.js",
444-
"ws": "https://unpkg.com/htmx-ext-ws/ws.js",
445-
"chunked-transfer": "https://unpkg.com/htmx-ext-transfer-encoding-chunked/transfer-encoding-chunked.js"
444+
"ws": "https://unpkg.com/htmx-ext-ws@2.0.1/ws.js",
445+
"chunked-transfer": "https://unpkg.com/htmx-ext-transfer-encoding-chunked@0.4.0/transfer-encoding-chunked.js"
446446
}
447447

448448
# %% ../nbs/api/00_core.ipynb
449-
htmxsrc = Script(src="https://unpkg.com/htmx.org@next/dist/htmx.min.js")
449+
htmxsrc = Script(src="https://unpkg.com/htmx.org@2.0.3/dist/htmx.min.js")
450450
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/[email protected]/fasthtml.js")
451451
surrsrc = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js")
452452
scopesrc = Script(src="https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js")

nbs/api/00_core.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,8 +1182,8 @@
11821182
" \"multi-swap\": \"https://unpkg.com/[email protected]/multi-swap.js\", \n",
11831183
" \"path-deps\": \"https://unpkg.com/[email protected]/path-deps.js\", \n",
11841184
" \"remove-me\": \"https://unpkg.com/[email protected]/remove-me.js\",\n",
1185-
" \"ws\": \"https://unpkg.com/htmx-ext-ws/ws.js\",\n",
1186-
" \"chunked-transfer\": \"https://unpkg.com/htmx-ext-transfer-encoding-chunked/transfer-encoding-chunked.js\"\n",
1185+
" \"ws\": \"https://unpkg.com/htmx-ext-ws@2.0.1/ws.js\",\n",
1186+
" \"chunked-transfer\": \"https://unpkg.com/htmx-ext-transfer-encoding-chunked@0.4.0/transfer-encoding-chunked.js\"\n",
11871187
"}"
11881188
]
11891189
},
@@ -1195,7 +1195,7 @@
11951195
"outputs": [],
11961196
"source": [
11971197
"#| export\n",
1198-
"htmxsrc = Script(src=\"https://unpkg.com/htmx.org@next/dist/htmx.min.js\")\n",
1198+
"htmxsrc = Script(src=\"https://unpkg.com/htmx.org@2.0.3/dist/htmx.min.js\")\n",
11991199
"fhjsscr = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/[email protected]/fasthtml.js\")\n",
12001200
"surrsrc = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js\")\n",
12011201
"scopesrc = Script(src=\"https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js\")\n",

0 commit comments

Comments
 (0)