Skip to content

Commit a67c781

Browse files
Update process-url.js
1 parent 6695204 commit a67c781

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

functions/process-url/process-url.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cloudinary.config({
88

99
exports.handler = async function(event, ctx) {
1010
const { queryStringParameters } = event;
11-
11+
console.log(queryStringParameters);
1212
try {
1313
// https://res.cloudinary.com/sector/image/upload/v1583637123/og-images/img-1.png
1414
const imageUrl = cloudinary.url(
@@ -25,6 +25,9 @@ exports.handler = async function(event, ctx) {
2525
}
2626
}
2727
);
28+
console.log(`https://relaxed-payne-d1bfbe.netlify.com/.netlify/functions/gen-opengraph-image?${qs.stringify(
29+
queryStringParameters
30+
)}`)
2831
return {
2932
statusCode: 302,
3033
headers: {

0 commit comments

Comments
 (0)