Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
InventivetalentDev committed Jul 8, 2024
1 parent 6bb06a3 commit 69c1d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const register = (app: Application) => {
}

function addBreadcrumb(req: GenerateRequest, res: Response) {
const breadcrumbId = md5(`${ getIp(req) }${ Date.now() }{ Math.random() }`).substr(0, 8);
const breadcrumbId = md5(`${ getIp(req) }${ Date.now() }${ Math.random() }`).substr(0, 8);
const breadcrumb = nextBreadColor()(breadcrumbId);
req.breadcrumb = breadcrumb;
res.header("X-MineSkin-Breadcrumb", breadcrumbId);
Expand Down

0 comments on commit 69c1d18

Please sign in to comment.