mirror of
https://github.com/comatory/fb2iCal
synced 2025-06-05 22:09:25 +02:00
add favicon
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const express = require('express')
|
||||
const bodyParser = require('body-parser')
|
||||
const path = require('path')
|
||||
const favicon = require('serve-favicon')
|
||||
|
||||
const crawl = require('./crawler')
|
||||
const parseHTML = require('./parser')
|
||||
@@ -12,6 +13,8 @@ const app = express()
|
||||
|
||||
app.set('view engine', 'ejs')
|
||||
app.set('views', path.join(__dirname, 'views'))
|
||||
|
||||
app.use(favicon(path.join(__dirname, 'views', 'favicon.ico')))
|
||||
app.use(bodyParser())
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
|
Reference in New Issue
Block a user