mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
add test for serve-favicon
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/// <reference path="serve-favicon.d.ts" />
|
||||
|
||||
import express = require('express');
|
||||
import favicon = require('serve-favicon');
|
||||
var app = express();
|
||||
|
||||
app.use(favicon(__dirname + '/public/favicon.ico', {
|
||||
maxAge: 86400000
|
||||
}));
|
||||
Reference in New Issue
Block a user