chore: improvements

This commit is contained in:
Danish Arora 2024-11-08 14:18:17 +07:00
parent b5f4b16b58
commit 2276135df5
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
3 changed files with 6 additions and 11 deletions

View File

@ -5,7 +5,11 @@
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" href="/favicon.png" />
<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>
window.global = window;
window.process = {

View File

@ -1,15 +1,6 @@
import { Protocols } from '@waku/sdk';
// Configure Waku options with browser-compatible settings
export const WAKU_NODE_OPTIONS = {
defaultBootstrap: true,
libp2p: {
addresses: {
listen: [] // Empty for browser environments
},
connectionManager: {
minConnections: 2
}
},
protocols: [Protocols.Store, Protocols.Filter, Protocols.LightPush]
};

View File

@ -27,7 +27,7 @@ createRoot(document.getElementById('root')!).render(
<QueryClientProvider client={queryClient}>
<ConnectKitProvider>
<LightNodeProvider options={WAKU_NODE_OPTIONS}>
<Router basename={import.meta.env.BASE_URL}>
<Router basename={'/'}>
<App />
</Router>
</LightNodeProvider>