Skip to content

Commit

Permalink
fix: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPAC-4 committed Jan 15, 2025
1 parent 0e4dad4 commit 67cbd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _api/src/optimizeImages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { optimize } from "svgo"
import { getFilePathsInDirectory, getFileSize, isDirectory } from "./utils"

// Constants for image size limits
const SVG_SIZE_LIMIT = 20 * 1024 // 10KB
const SVG_SIZE_LIMIT = 20 * 1024 // 20KB
const PNG_SIZE_LIMIT = 100 * 1024 // 100KB
const PNG_MAX_HEIGHT = 256 // 256px

Expand Down

0 comments on commit 67cbd7f

Please sign in to comment.