ionicons version

This commit is contained in:
cupcakearmy 2020-12-09 13:56:58 +01:00
parent 5f556187c3
commit 70b848ff62
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
2 changed files with 10 additions and 7 deletions

View File

@ -27,9 +27,7 @@ export async function get(req, res) {
this.ref('url') this.ref('url')
this.field('data') this.field('data')
all.flat().forEach((doc) => { all.flat().forEach((doc) => this.add(doc))
this.add(doc)
})
}) })
res.setHeader('Content-Type', 'application/json') res.setHeader('Content-Type', 'application/json')
res.end(JSON.stringify(idx)) res.end(JSON.stringify(idx))

View File

@ -18,6 +18,9 @@
<!-- This contains the contents of the <svelte:head> component, if <!-- This contains the contents of the <svelte:head> component, if
the current page has one --> the current page has one -->
%sapper.head% %sapper.head%
<script defer type="module" src="https://unpkg.com/ionicons@5.2.3/dist/ionicons/ionicons.esm.js"></script>
<script defer nomodule="" src="https://unpkg.com/ionicons@5.2.3/dist/ionicons/ionicons.js"></script>
</head> </head>
<body> <body>
<!-- The application will be rendered inside this element, <!-- The application will be rendered inside this element,
@ -29,9 +32,11 @@
initialise the router --> initialise the router -->
%sapper.scripts% %sapper.scripts%
<script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script> <script
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script> async
src="https://stats.nicco.io/unicorns.js"
<script async src="https://stats.nicco.io/unicorns.js" data-ackee-server="https://stats.nicco.io" data-ackee-domain-id="f800b5af-b80b-4089-94b2-7b5c96a8f308"></script> data-ackee-server="https://stats.nicco.io"
data-ackee-domain-id="f800b5af-b80b-4089-94b2-7b5c96a8f308"
></script>
</body> </body>
</html> </html>