change sizing slightly and add sentry
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { assert } from "~~/utils/assert";
|
||||
|
||||
export default defineNuxtPlugin({
|
||||
name: 'better-auth-triplit',
|
||||
enforce: 'pre',
|
||||
@@ -19,9 +21,8 @@ export default defineNuxtPlugin({
|
||||
return;
|
||||
}
|
||||
|
||||
if ('startSession' in triplit) {
|
||||
await triplit.startSession(session.value.token);
|
||||
}
|
||||
assert('startSession' in triplit)
|
||||
await triplit.startSession(session.value.token);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
@@ -10,7 +10,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
||||
unified()
|
||||
.use(remarkParse)
|
||||
.use(remarkGfm)
|
||||
.use(remarkMath, { singleDollarTextMath: false })
|
||||
.use(remarkMath)
|
||||
.use(remarkRehype, { allowDangerousHtml: true })
|
||||
.use(rehypeKatex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user