An open source, non-profit web search engine
Copy and use local htmx
Daoud Clarkeb6aed2c8da3b
diff --git a/front-end/package.json b/front-end/package.jsonindex d811c48..f67917e 100644--- a/front-end/package.json+++ b/front-end/package.json@@ -4,7 +4,7 @@"type": "module","scripts": {"dev": "vite",- "build": "vite build",+ "build": "vite build && cp node_modules/htmx.org/dist/htmx.min.js dist/assets/htmx.min.js","preview": "vite preview"},"devDependencies": {diff --git a/mwmbl/templates/index.html b/mwmbl/templates/index.htmlindex 974fce3..e1047e5 100644--- a/mwmbl/templates/index.html+++ b/mwmbl/templates/index.html@@ -37,7 +37,7 @@<!-- OpenSearch --><link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="Mwmbl Search">- <script src="https://unpkg.com/[email protected]"></script>+ <script src="/static/assets/htmx.min.js"></script>{% vite_hmr_client %}</head>