diff --git a/components/DraggableWindow.vue b/components/DraggableWindow.vue index ccf886b..a4b0545 100644 --- a/components/DraggableWindow.vue +++ b/components/DraggableWindow.vue @@ -76,7 +76,7 @@ const stopDrag = () => { >

{{ title }}

diff --git a/pages/app/desktop/index.vue b/pages/app/desktop/index.vue index e3e68f2..bfbc199 100644 --- a/pages/app/desktop/index.vue +++ b/pages/app/desktop/index.vue @@ -464,13 +464,14 @@ watchEffect((cleanupFn) => { v-else > -
+
+ | -
+
{{ currentDate }}
@@ -515,7 +518,7 @@ watchEffect((cleanupFn) => { leave-active-class="animate__animated animate__fadeOutUp animate_fast03" >
diff --git a/server/api/user/checkcookie.ts b/server/api/user/checkcookie.ts new file mode 100644 index 0000000..b7fd917 --- /dev/null +++ b/server/api/user/checkcookie.ts @@ -0,0 +1,9 @@ +// This should be hooked up to a database soon. +import postgres from "~/server/components/postgres"; +export default defineEventHandler(async (event) => { + const loginCookie = getCookie(event, "session"); + return { + auth: "true", + user: "testing", + }; +});