Skip to content

Commit

Permalink
Fixing algolia
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfessorManhattan committed Apr 24, 2024
1 parent e95359a commit bc56317
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,19 @@ The official [Capacitor](https://capacitorjs.com/) site, built with [Stencil](ht
Install the [latest versions of Node and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).

Once npm is install, run

<script type="speculationrules">
{
"prerender": [{
"where": {
"and": [
{ "href_matches": "/*" },
{ "not": {"selector_matches": ".do-not-prerender"}}
]
},
"eagerness": "immediate"
}]
}
</script>
```
npm install
npm run build
Expand Down
13 changes: 0 additions & 13 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,6 @@
crossOrigin="anonymous" />
<link rel="preconnect" href="https://KFVMJ7I0DW-dsn.algolia.net" crossorigin="anonymous" />

<script type="speculationrules">
{
"prerender": [{
"where": {
"and": [
{ "href_matches": "/*" },
{ "not": {"selector_matches": ".do-not-prerender"}}
]
},
"eagerness": "immediate"
}]
}
</script>
<style>
@font-face {
font-display: swap;
Expand Down

0 comments on commit bc56317

Please sign in to comment.