From 0169fe94e651efc9727a455a7fe7c3a813c2f855 Mon Sep 17 00:00:00 2001 From: ToBinio Date: Wed, 12 Nov 2025 15:10:39 +0100 Subject: [PATCH] minor cleanup --- .gitignore | 1 - nuxt.config.ts | 6 ------ server/plugins/storage.ts | 6 +++--- tests/utils.ts | 3 +-- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 55065e2..618ae74 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ .nitro .cache dist -storage # Node dependencies node_modules diff --git a/nuxt.config.ts b/nuxt.config.ts index 6fa6b76..e118752 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -41,13 +41,7 @@ export default defineNuxtConfig({ runtimeConfig: { public: { baseURL: process.env.BASE_URL ?? "", - googleClientId: process.env.GOOGLE_CLIENT_ID, - googleRedirectUrl: process.env.GOOGLE_REDIRECT_URL, - googleSignIn: { clientId: process.env.GOOGLE_CLIENT_ID }, - jwtTTL: process.env.JWT_TTL_SECONDS, }, - googleClientSecret: process.env.GOOGLE_CLIENT_SECRET, - jwtSecret: process.env.JWT_SECRET, upstash: { url: process.env.UPSTASH_URL, token: process.env.UPSTASH_TOKEN, diff --git a/server/plugins/storage.ts b/server/plugins/storage.ts index 02b19a4..15cba50 100644 --- a/server/plugins/storage.ts +++ b/server/plugins/storage.ts @@ -37,19 +37,19 @@ function defineDevelopmentStorage() { storage.mount( "todos", fsDriver({ - base: "storage/todos", + base: ".data/todos", }), ); storage.mount( "tags", fsDriver({ - base: "storage/tags", + base: ".data/tags", }), ); storage.mount( "categories", fsDriver({ - base: "storage/categories", + base: ".data/categories", }), ); } diff --git a/tests/utils.ts b/tests/utils.ts index c8b55f5..ad4a772 100644 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -1,8 +1,7 @@ import { expect } from "@nuxt/test-utils/playwright"; import type { Locator, Page } from "@playwright/test"; -import { v4 } from "uuid"; -export async function setAuthCookie(page: Page) { +export async function setAuthCookie(_page: Page) { throw new Error("not implemented"); //await page.context().addCookies([ -- 2.51.2