aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-07-15 13:47:19 -0700
committerAdam Soltys <[email protected]>2025-07-15 13:47:19 -0700
commit9ea218a225cd3b6d3a0fcff5380e5e9be37ec2af (patch)
treed5c6f9bd0e1e5d54bc58ddfc496d9f5ca11ca52b
parent9fe20ee5ef5528364d0a497e4e50e7a6f69142c5 (diff)
downloadcoinosv3-9ea218a225cd3b6d3a0fcff5380e5e9be37ec2af.tar.gz
coinosv3-9ea218a225cd3b6d3a0fcff5380e5e9be37ec2af.zip
prerender
-rwxr-xr-xbun.lockbbin66510 -> 66924 bytes
-rw-r--r--package.json1
-rw-r--r--src/routes/+layout.ts1
-rw-r--r--src/routes/+page.svelte2
-rw-r--r--svelte.config.js8
5 files changed, 7 insertions, 5 deletions
diff --git a/bun.lockb b/bun.lockb
index c6687a9..e6ff9ea 100755
--- a/bun.lockb
+++ b/bun.lockb
Binary files differ
diff --git a/package.json b/package.json
index b8b1aea..c933ca2 100644
--- a/package.json
+++ b/package.json
@@ -34,6 +34,7 @@
"@scure/bip32": "^1.7.0",
"@scure/bip39": "^1.6.0",
"@scure/btc-signer": "^1.8.1",
+ "@sveltejs/adapter-static": "^3.0.8",
"daisyui": "^5.0.46"
}
}
diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts
index a3d1578..89da957 100644
--- a/src/routes/+layout.ts
+++ b/src/routes/+layout.ts
@@ -1 +1,2 @@
export const ssr = false;
+export const prerender = true;
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index db8986d..f82805e 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -41,7 +41,7 @@
let utxos = [];
let api = 'https://mempool.space/api';
- let amt = $state(800);
+ let amt = $state();
// let destination = $state('bc1qqz6nlwxwmfqw0v864p5sggqst2xf0mevtyc579');
// let password = $state('123');
// let mnemonic = $state(
diff --git a/svelte.config.js b/svelte.config.js
index 1295460..0caa92f 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,5 +1,5 @@
-import adapter from '@sveltejs/adapter-auto';
-import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
+import adapter from "@sveltejs/adapter-static";
+import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */
const config = {
@@ -11,8 +11,8 @@ const config = {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
- adapter: adapter()
- }
+ adapter: adapter(),
+ },
};
export default config;