nuxt-og-image 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -178,7 +178,7 @@ declare module 'nitropack' {
|
|
|
178
178
|
if (routeRules.ogImage === false)
|
|
179
179
|
return;
|
|
180
180
|
const screenshotPath = ctx._contents.match(new RegExp(`<link id="${LinkPrerenderId}" rel="prerender" href="(.*?)">`))?.[1];
|
|
181
|
-
const fileName = `${hash({ route: ctx.route
|
|
181
|
+
const fileName = `${hash({ route: ctx.route })}.png`;
|
|
182
182
|
const absoluteUrl = withBase(`${config.outputDir}/${fileName}`, config.host);
|
|
183
183
|
const entry = {
|
|
184
184
|
fileName,
|