This commit is contained in:
Chris W 2023-10-06 20:36:17 -06:00
parent 461fed9c60
commit 6360f78774
6 changed files with 7 additions and 10 deletions

View File

@ -2,7 +2,7 @@
<html lang="en" class="w-full h-full py-[20px] px-[50px] dark"> <html lang="en" class="w-full h-full py-[20px] px-[50px] dark">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> <link rel="icon" href="%sveltekit.assets%/images/favicon.ico" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
%sveltekit.head% %sveltekit.head%
</head> </head>

View File

@ -27,6 +27,7 @@
type: 'component', type: 'component',
component: modalComponent, component: modalComponent,
response: (data: typeof extraOptions) => { response: (data: typeof extraOptions) => {
if (!data) return;
extraOptions = data; extraOptions = data;
onSave(); onSave();
}, },

View File

@ -3,8 +3,6 @@
import { page } from '$app/stores'; import { page } from '$app/stores';
import ToolBox from '$lib/components/ToolBox.svelte'; import ToolBox from '$lib/components/ToolBox.svelte';
import { ChevronRight } from 'svelte-tabler'; import { ChevronRight } from 'svelte-tabler';
console.log($page);
</script> </script>
<svelte:head> <svelte:head>

View File

@ -7,8 +7,6 @@ export const POST: RequestHandler = async ({ params, request }) => {
const { id } = params; const { id } = params;
const { password } = await request.json(); const { password } = await request.json();
console.log(password);
const paste = await pastes.findOne({ id }); const paste = await pastes.findOne({ id });
if (!paste) { if (!paste) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB