mirror of
https://github.com/comatory/fb2iCal
synced 2025-02-17 20:20:48 +01:00
enable as PWA
This commit is contained in:
parent
88ae765672
commit
b7d58febe8
@ -15,7 +15,7 @@ app.set('view engine', 'ejs')
|
|||||||
app.set('views', path.join(__dirname, 'views'))
|
app.set('views', path.join(__dirname, 'views'))
|
||||||
|
|
||||||
app.use(express.static(path.join(__dirname, 'public')))
|
app.use(express.static(path.join(__dirname, 'public')))
|
||||||
app.use(favicon(path.join(__dirname, 'views', 'favicon.ico')))
|
app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')))
|
||||||
app.use(bodyParser())
|
app.use(bodyParser())
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
|
BIN
lib/public/favicon.ico
Normal file
BIN
lib/public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
lib/public/icon-192.png
Normal file
BIN
lib/public/icon-192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
lib/public/icon-512.png
Normal file
BIN
lib/public/icon-512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
20
lib/public/manifest.json
Normal file
20
lib/public/manifest.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"short_name": "FB to iCal",
|
||||||
|
"name": "Facebook Event to iCal Converter",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src":"/icon-192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src":"/icon-512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_url": "/",
|
||||||
|
"background_color": "#fff",
|
||||||
|
"theme_color": "#fff",
|
||||||
|
"display": "standalone"
|
||||||
|
}
|
@ -3,7 +3,8 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Facebook Events to iCal Converter</title>
|
<link rel="manifest" href="/manifest.json">
|
||||||
|
<title>Facebook Event to iCal Converter</title>
|
||||||
<style>
|
<style>
|
||||||
#current-download {
|
#current-download {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user