Add some kind of favicon
This commit is contained in:
parent
e49a20d52c
commit
6654087b00
3 changed files with 3 additions and 2 deletions
4
app.js
4
app.js
|
@ -20,8 +20,8 @@ var app = express();
|
|||
app.set('views', path.join(__dirname, 'views'));
|
||||
app.set('view engine', 'ejs');
|
||||
|
||||
// uncomment after placing your favicon in /public
|
||||
//app.use(favicon(__dirname + '/public/favicon.ico'));
|
||||
|
||||
app.use(favicon(__dirname + '/public/images/favicon.png'));
|
||||
app.use(helmet());
|
||||
app.use(logger('dev'));
|
||||
app.use(bodyParser.json());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue