Skip to content

Commit

Permalink
fix netlify function
Browse files Browse the repository at this point in the history
  • Loading branch information
donywang922 committed Nov 17, 2023
1 parent ec05c3a commit 12a82b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify/functions/search.mts
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 12a82b4

Please sign in to comment.