Answers for "icon api node js to browser"

0

icon api node js to browser

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)
Posted by: Guest on January-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language