Add Docker deployment, remove Clerk auth, and configure OSS mode

This commit is contained in:
2026-07-23 20:26:59 +00:00
parent b26ad3509f
commit 4888092364
7 changed files with 102 additions and 14 deletions
@@ -1,4 +1,4 @@
const BASE = process.env.NEXT_PUBLIC_API_URL || "http://localhost:8000";
const BASE = process.env.NEXT_PUBLIC_API_URL || "";
export type ActionState = {
success: boolean;
+1 -1
View File
@@ -26,7 +26,7 @@ export function safeMpn(mpn: string): string {
return mpn.replace(/\//g, "_").replace(/:/g, "_");
}
const BASE = process.env.NEXT_PUBLIC_API_URL || "http://localhost:8000";
const BASE = process.env.NEXT_PUBLIC_API_URL || "";
// Auth token getter — set by useAuthApi hook
let _getToken: (() => Promise<string | null>) | null = null;