From 93dcea15d7e25a00426922a7b7371a8e374df98d Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 15 Oct 2025 13:47:13 +0000 Subject: [PATCH] too lazy to think of a message, so enjoy this pointless text. Good luck future me... --- nix/packages/flake-module.nix | 2 +- src/auth.server.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nix/packages/flake-module.nix b/nix/packages/flake-module.nix index 5c0289c..7aa47e5 100755 --- a/nix/packages/flake-module.nix +++ b/nix/packages/flake-module.nix @@ -32,7 +32,7 @@ mkdir -p $out cp -r ./.output/* $out - touch $out/auth.sqlite + # touch $out/auth.sqlite makeWrapper ${lib.getExe pkgs.bun} $out/bin/${pname} \ --chdir $out \ diff --git a/src/auth.server.ts b/src/auth.server.ts index 79717bb..3a1b62d 100755 --- a/src/auth.server.ts +++ b/src/auth.server.ts @@ -5,7 +5,8 @@ import { Database } from "bun:sqlite"; export const auth = betterAuth({ appName: "Streamarr", basePath: "/api/auth", - database: new Database('auth.sqlite', { create: true }), + // database: new Database('auth.sqlite', { create: true }), + database: new Database(':memory:'), logger: { level: "debug", log(level, message, ...args) {