christmas/routes/manifest.json/index.js
Sam Wing deed72709d PWA
2019-11-17 15:46:08 -05:00

25 lines
No EOL
516 B
JavaScript

const express = require('express');
module.exports = ({ config }) => {
const router = express.Router();
router.get('/', (req, res) => {
res.send({
name: config.siteTitle,
short_name: config.shortTitle,
background_color: 'white',
description: 'Sleek Wishlist App',
theme_color: '#dc5878',
start_url: '/',
display: 'standalone',
icons: [
{
sizes: '1280x1280',
src: '/img/logo.png'
}
]
})
});
return router;
};