📜  图标 api 节点 js 到浏览器 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:38.179000             🧑  作者: Mango

代码示例1
var connect = require('connect')
var favicon = require('serve-favicon')
var path = require('path')

var app = connect()
app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')))

// Add your middleware here, etc.

app.listen(3000)