From 12a82b4ca4a5e1a2e071ca28c51a386c30f94349 Mon Sep 17 00:00:00 2001 From: donywang922 Date: Fri, 17 Nov 2023 10:12:14 -0800 Subject: [PATCH] fix netlify function --- netlify/functions/search.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify/functions/search.mts b/netlify/functions/search.mts index 60a8d0f..d60bab5 100644 --- a/netlify/functions/search.mts +++ b/netlify/functions/search.mts @@ -1,7 +1,7 @@ import type {Context} from "@netlify/functions" export default async function search(req: Request, ctx: Context) { - let P_KEY = process.env.PERENUAL_KEY + let P_KEY = "sk-sZxb6546cce0783d62824"//env not working let form = await req.formData() let q = form.get("q")