mirror of https://github.com/waku-org/waku-lab.git
chore: improvements
This commit is contained in:
parent
b5f4b16b58
commit
2276135df5
|
@ -5,7 +5,11 @@
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>BuddyBook Dogfood</title>
|
<meta name="description" content="BuddyBook - Create and share your chains" />
|
||||||
|
<meta property="og:title" content="BuddyBook" />
|
||||||
|
<meta property="og:description" content="Create and share your chains" />
|
||||||
|
<meta property="og:url" content="https://buddybook.fun" />
|
||||||
|
<title>BuddyBook</title>
|
||||||
<script>
|
<script>
|
||||||
window.global = window;
|
window.global = window;
|
||||||
window.process = {
|
window.process = {
|
||||||
|
|
|
@ -1,15 +1,6 @@
|
||||||
import { Protocols } from '@waku/sdk';
|
import { Protocols } from '@waku/sdk';
|
||||||
|
|
||||||
// Configure Waku options with browser-compatible settings
|
|
||||||
export const WAKU_NODE_OPTIONS = {
|
export const WAKU_NODE_OPTIONS = {
|
||||||
defaultBootstrap: true,
|
defaultBootstrap: true,
|
||||||
libp2p: {
|
|
||||||
addresses: {
|
|
||||||
listen: [] // Empty for browser environments
|
|
||||||
},
|
|
||||||
connectionManager: {
|
|
||||||
minConnections: 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
protocols: [Protocols.Store, Protocols.Filter, Protocols.LightPush]
|
protocols: [Protocols.Store, Protocols.Filter, Protocols.LightPush]
|
||||||
};
|
};
|
|
@ -27,7 +27,7 @@ createRoot(document.getElementById('root')!).render(
|
||||||
<QueryClientProvider client={queryClient}>
|
<QueryClientProvider client={queryClient}>
|
||||||
<ConnectKitProvider>
|
<ConnectKitProvider>
|
||||||
<LightNodeProvider options={WAKU_NODE_OPTIONS}>
|
<LightNodeProvider options={WAKU_NODE_OPTIONS}>
|
||||||
<Router basename={import.meta.env.BASE_URL}>
|
<Router basename={'/'}>
|
||||||
<App />
|
<App />
|
||||||
</Router>
|
</Router>
|
||||||
</LightNodeProvider>
|
</LightNodeProvider>
|
||||||
|
|
Loading…
Reference in New Issue