Spaces:
Sleeping
Sleeping
Update router/api.js
Browse files- router/api.js +1 -1
router/api.js
CHANGED
@@ -26,7 +26,7 @@ const ISauthenticate = async (req, res, next) => {
|
|
26 |
|
27 |
// Inisialisasi Groq SDK
|
28 |
const client = new Groq({
|
29 |
-
apiKey:
|
30 |
dangerouslyAllowBrowser: true,
|
31 |
});
|
32 |
|
|
|
26 |
|
27 |
// Inisialisasi Groq SDK
|
28 |
const client = new Groq({
|
29 |
+
apiKey: process.env.GROQ_API_KEY || "",
|
30 |
dangerouslyAllowBrowser: true,
|
31 |
});
|
32 |
|