diff --git a/src/config/freeMode.ts b/src/config/freeMode.ts index 1b0b9dc..1f51aa6 100644 --- a/src/config/freeMode.ts +++ b/src/config/freeMode.ts @@ -1,2 +1,2 @@ // src/config/freeMode.ts -export const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE +export const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE === 'true' diff --git a/src/services/googleVisionCore.ts b/src/services/googleVisionCore.ts index 33dc578..05c8b1f 100644 --- a/src/services/googleVisionCore.ts +++ b/src/services/googleVisionCore.ts @@ -58,6 +58,7 @@ export async function analyzeImageWithVision(imageBuffer: Buffer): Promise