Skip to content

Commit 03ef253

Browse files
committed
fixed build
1 parent c4e1305 commit 03ef253

14 files changed

+4
-2
lines changed

.vitepress/theme/components/Hero.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ defineProps<Props>()
2727
<section relative>
2828
<NqHeadline :title :description :align z-100 />
2929
<div max-w-none="!" op-30 w-screen bottom-32 absolute>
30-
<HexagonsBackground />
30+
<ClientOnly>
31+
<HexagonsBackground />
32+
</ClientOnly>
3133
</div>
3234

3335
<div grid="~ cols-1 md:cols-2 md:rows-[auto_auto_auto] gap-32" z-100 f-min-h-3xl>

.vitepress/theme/components/Rpc/playground.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function usePlaygroundRpc(props: MaybeRef<Partial<NimiqRpcMethod>>) {
6262
}
6363
try {
6464
playground.value.state = 'loading'
65-
const url = new URL(playgroundConfig.value.nodeUrl, window.location.origin)
65+
const url = new URL(playgroundConfig.value.nodeUrl, typeof window !== 'undefined' ? window.location.origin : 'http://localhost')
6666
const auth: Auth = { username: playgroundConfig.value.auth.username, password: playgroundConfig.value.auth.password }
6767
const options: HttpOptions = { url, auth }
6868
const parsedParams = Object.values(params).map((p, i) => {
7.71 KB
Binary file not shown.
11.7 KB
Binary file not shown.
6.49 KB
Binary file not shown.
3.42 KB
Binary file not shown.
22.8 KB
Binary file not shown.
5.26 KB
Binary file not shown.
7.62 KB
Binary file not shown.
15.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)