waku-lab/examples/buddybook/index.html

49 lines
1.5 KiB
HTML
Raw Normal View History

2024-10-25 00:11:04 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
2024-11-02 18:57:59 +00:00
<link rel="icon" type="image/svg+xml" href="/buddybook/favicon.svg" />
<link rel="icon" type="image/png" href="/buddybook/favicon.png" />
2024-10-25 00:11:04 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2024-10-28 12:53:21 +00:00
<title>BuddyBook Dogfood</title>
2024-11-02 18:57:59 +00:00
<base href="/buddybook/" />
<script>
window.global = window;
window.process = {
env: {
NODE_ENV: 'production',
VITE_WALLETCONNECT_PROJECT_ID: '%VITE_WALLETCONNECT_PROJECT_ID%'
},
nextTick: function(fn) { setTimeout(fn, 0); },
platform: 'browser',
version: 'v16.0.0',
browser: true
};
</script>
2024-11-05 06:06:23 +00:00
<script type="text/javascript">
(function(l) {
if (l.search[1] === '/' ) {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))
</script>
2024-11-05 12:01:46 +00:00
<script type="text/javascript">
(function() {
const path = window.location.pathname.substring('/buddybook/'.length);
if (path && !window.location.search.includes('?/')) {
window.location.replace('/buddybook/?/' + path + window.location.search + window.location.hash);
}
})();
</script>
2024-10-25 00:11:04 +00:00
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>