Skip to content

Commit 530de7a

Browse files
committed
Remove console.log
1 parent 9e50834 commit 530de7a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

netlify/edge-functions/edge-enhance.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
await initialize();
1212

1313
export default async (request: Request) => {
14-
console.log(request);
1514
if (request.method === "POST") {
1615
try {
1716
const form = await multiParser(request);

netlify/edge-functions/resize-image.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default async (request: Request) => {
4242
// Only height is provided, calculate width to maintain aspect ratio
4343
newWidth = Math.round((image.width / image.height) * height);
4444
}
45-
console.log(newWidth, newHeight);
45+
4646
const geometry = new MagickGeometry(newWidth, newHeight);
4747
image.resize(geometry);
4848
const data = await image.write(

0 commit comments

Comments
 (0)