feat: update API routes for paste options and recent pastes

This commit is contained in:
2026-01-08 17:31:02 -05:00
parent 5a630d2a71
commit 1f2761f463
6 changed files with 37 additions and 9 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import type { PageServerLoad } from './$types';
export const load: PageServerLoad = async ({ fetch, url }) => {
try {
const optionsRes = await fetch('/api/paste/create/options');
const optionsRes = await fetch('/api/paste/info');
const authInfo = await fetch('/api/auth/info');
const options = await optionsRes.json();
const auth = await authInfo.json();