Skip to content

Commit

Permalink
fix matched og path
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Mar 22, 2023
1 parent 0912ea4 commit c5b4174
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -668,7 +668,7 @@ function getExtractMetadata(params: {
const resource = module.resource
const hasOGImageGeneration =
resource &&
/[\\/]node_modules[\\/]@vercel[\\/]og[\\/]dist[\\/]index.js$/.test(
/[\\/]node_modules[\\/]@vercel[\\/]og[\\/]dist[\\/]index\.(edge|node)\.js$/.test(
resource
)

Expand Down

0 comments on commit c5b4174

Please sign in to comment.