remove auth, fix builds
This commit is contained in:
parent
a382bef850
commit
2403232f48
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -6,6 +6,12 @@ const nextConfig: NextConfig = {
|
|||
},
|
||||
reactStrictMode: true,
|
||||
productionBrowserSourceMaps: true,
|
||||
...(process.env.ELECTRON_BUILD
|
||||
? {
|
||||
output: "export",
|
||||
basePath: "",
|
||||
}
|
||||
: {}),
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
import { auth } from "@/lib/auth";
|
||||
import { toNextJsHandler } from "better-auth/next-js";
|
||||
|
||||
export const { POST, GET } = toNextJsHandler(auth);
|
||||
Loading…
Reference in New Issue