We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e50834 commit 530de7aCopy full SHA for 530de7a
netlify/edge-functions/edge-enhance.ts
@@ -11,7 +11,6 @@ import {
11
await initialize();
12
13
export default async (request: Request) => {
14
- console.log(request);
15
if (request.method === "POST") {
16
try {
17
const form = await multiParser(request);
netlify/edge-functions/resize-image.ts
@@ -42,7 +42,7 @@ export default async (request: Request) => {
42
// Only height is provided, calculate width to maintain aspect ratio
43
newWidth = Math.round((image.width / image.height) * height);
44
}
45
- console.log(newWidth, newHeight);
+
46
const geometry = new MagickGeometry(newWidth, newHeight);
47
image.resize(geometry);
48
const data = await image.write(
0 commit comments