Better title + description for auto-index pages

This commit is contained in:
Michael Jackson 2018-07-31 14:29:48 -07:00
parent 3508656831
commit 4605425fd8
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ function serveAutoIndexPage(req, res) {
);
const html = renderPage(MainPage, {
title: `UNPKG - ${req.packageName}`,
description: `The CDN for ${req.packageName}`,
scripts: scripts,
styles: styles,
data: props,