refactor(app/web): new features (#1124) [skip ci]

This commit is contained in:
Simon Lecoq
2022-07-06 04:37:39 +02:00
committed by GitHub
parent 7379fb21a8
commit 130c74b266
80 changed files with 1304 additions and 1103 deletions

View File

@@ -79,8 +79,8 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
<th colspan="2"><h2>🦑 Try it now!</h2></th>
</tr>
<tr>
<th><a href="https://metrics.lecoq.io">📊 Metrics embed</a></th>
<th><a href="https://metrics.lecoq.io/about">✨ Metrics insights</a></th>
<th><a href="https://metrics.lecoq.io/embed">📊 Metrics embed</a></th>
<th><a href="https://metrics.lecoq.io/insights">✨ Metrics insights</a></th>
</tr>
<tr>
<td align="center">

View File

@@ -220,7 +220,8 @@ export default async function(
},
//Settings and tokens
{
enabled = false
enabled = false,
extras = false,
} = {}) {
//Plugin execution
try {
@@ -241,7 +242,7 @@ export default async function(
}
//Handle errors
catch (error) {
throw {error:{message:"An error occured", instance:error}}
throw imports.format.error(error)
}
}
```