diff --git a/SharpbinV3.Client/src/routes/+page.svelte b/SharpbinV3.Client/src/routes/+page.svelte
index 2850e3c..79dd881 100644
--- a/SharpbinV3.Client/src/routes/+page.svelte
+++ b/SharpbinV3.Client/src/routes/+page.svelte
@@ -252,7 +252,7 @@
{/if}
{#if data.options?.requiresVerification && data.auth?.cf_turnstile_site_key}
diff --git a/SharpbinV3.Client/src/routes/[id]/+page.server.ts b/SharpbinV3.Client/src/routes/[id]/+page.server.ts
index 0835c96..8acd3ba 100644
--- a/SharpbinV3.Client/src/routes/[id]/+page.server.ts
+++ b/SharpbinV3.Client/src/routes/[id]/+page.server.ts
@@ -33,16 +33,19 @@ export const load: PageServerLoad = async ({ params, fetch, url, cookies }) => {
if (viewJson.success === true && viewJson.message !== 'View already recorded.') {
pasteData.views += 1;
}
- }
- else {
- console.error(`Failed to increment view count for paste ${id}, status code ${viewed.status}: ${await viewed.text()}`);
+ } else {
+ console.error(
+ `Failed to increment view count for paste ${id}, status code ${viewed.status}: ${await viewed.text()}`
+ );
if (apiKey === '') {
- console.error('The API key for internal requests is not set. Please configure it in the environment variables.');
+ console.error(
+ 'The API key for internal requests is not set. Please configure it in the environment variables.'
+ );
}
}
const pasteContent = await fetch(`/api/paste/${id}/raw`);
- const pasteOptions = await fetch('/api/paste/info');
+ const pasteOptions = await fetch('/api/paste/info');
const options = await pasteOptions.json();
const content = await pasteContent.text();