diff --git a/src/module.ts b/src/module.ts index 5020108a..0e7abcee 100644 --- a/src/module.ts +++ b/src/module.ts @@ -162,7 +162,7 @@ declare module 'nitropack' { // check if the route path is not for a file const screenshotPath = ctx._contents.match(new RegExp(``))?.[1] - const fileName = `${hash({ route: ctx.route, time: Date.now() })}.png` + const fileName = `${hash({ route: ctx.route })}.png` const absoluteUrl = withBase(`${config.outputDir}/${fileName}`, config.host) const entry: OgImageRouteEntry = { fileName,