-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
41 lines (39 loc) · 1.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="msapplication-TileColor" content="#00aba9">
<link rel="icon" href="/pwa-192x192.png" type="image/png">
<meta name="theme-color" content="#ffffff">
<script>
// dark mode
// (function() {
// const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
// const setting = localStorage.getItem('vueuse-color-scheme') || 'auto'
// if (setting === 'dark' || (prefersDark && setting !== 'light'))
// document.documentElement.classList.toggle('dark', true)
// })()
</script>
<!-- <script onload='LitJsSdk.litJsSdkLoadedInALIT()' src="https://jscdn.litgateway.com/index.web.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/keccak256@latest/keccak256.js"></script>
<script src="https://cdn.jsdelivr.net/npm/merkletreejs@latest/merkletree.js"></script>
<script>
window.global = window
</script>
<script type="module">
import process from 'process'
import { Buffer } from 'buffer'
import EventEmitter from 'events'
window.Buffer = Buffer
window.process = process
window.EventEmitter = EventEmitter
window.keccak256 = keccak256
window.MerkleTree = MerkleTree
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>