mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
refactor: move CDN assets to js/ folder
This commit is contained in:
@@ -24,15 +24,21 @@ async function main() {
|
||||
|
||||
// Fetch htmx.min.js
|
||||
await fetchAndSave(
|
||||
"https://cdn.sonr.io/js/htmx.min.js",
|
||||
"https://cdnjs.cloudflare.com/ajax/libs/htmx/2.0.2/htmx.min.js",
|
||||
"./assets/js/htmx.min.js",
|
||||
);
|
||||
|
||||
// Fetch alpine.min.js
|
||||
await fetchAndSave(
|
||||
"https://unpkg.com/alpinejs@latest/dist/cdn.min.js",
|
||||
"https://cdnjs.cloudflare.com/ajax/libs/alpinejs/3.14.1/cdn.min.js",
|
||||
"./assets/js/alpine.min.js",
|
||||
);
|
||||
|
||||
// Fetch dexie.min.js
|
||||
await fetchAndSave(
|
||||
"https://cdnjs.cloudflare.com/ajax/libs/dexie/4.0.8/dexie.min.js",
|
||||
"./assets/js/dexie.min.js",
|
||||
);
|
||||
}
|
||||
|
||||
main();
|
||||
|
||||
Reference in New Issue
Block a user