christmas/routes/manifest.json/index.js

26 lines
512 B
JavaScript
Raw Normal View History

2020-11-08 13:54:08 -08:00
const express = require('express')
2019-11-17 12:46:08 -08:00
module.exports = ({ config }) => {
2020-11-08 13:54:08 -08:00
const router = express.Router()
2019-11-17 12:46:08 -08:00
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'
}
]
})
2020-11-08 13:54:08 -08:00
})
2019-11-17 12:46:08 -08:00
2020-11-08 13:54:08 -08:00
return router
}