remove auth, fix builds

This commit is contained in:
Kesku 2025-06-23 12:47:51 +01:00
parent a382bef850
commit 2403232f48
5 changed files with 10 additions and 9 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -16,13 +16,12 @@
"asar": false,
"mac": {
"category": "public.app-category.video",
"target": "dmg"
"target": "dmg",
"icon": "build-icons/icon.icns"
},
"win": {
"target": "nsis"
},
"linux": {
"target": "AppImage"
"target": "nsis",
"icon": "build-icons/icon.ico"
},
"nsis": {
"oneClick": false,

View File

@ -6,6 +6,12 @@ const nextConfig: NextConfig = {
},
reactStrictMode: true,
productionBrowserSourceMaps: true,
...(process.env.ELECTRON_BUILD
? {
output: "export",
basePath: "",
}
: {}),
};
export default nextConfig;

View File

@ -1,4 +0,0 @@
import { auth } from "@/lib/auth";
import { toNextJsHandler } from "better-auth/next-js";
export const { POST, GET } = toNextJsHandler(auth);