Add favicon from thenounproject.com.
This commit is contained in:
		
							parent
							
								
									dff2758f1d
								
							
						
					
					
						commit
						4d736d63a3
					
				@ -14,6 +14,7 @@
 | 
			
		||||
    "passport": "^0.3.2",
 | 
			
		||||
    "passport-local": "^1.0.0",
 | 
			
		||||
    "pg": "^4.4.3",
 | 
			
		||||
    "serve-favicon": "^2.3.0",
 | 
			
		||||
    "sqlite3": "^3.0.8",
 | 
			
		||||
    "winston": "^2.1.1"
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
@ -49,6 +49,9 @@ app.engine('hbs', hbs.express4({
 | 
			
		||||
}));
 | 
			
		||||
app.set('view engine', 'hbs');
 | 
			
		||||
app.set('views', __dirname + '/views');
 | 
			
		||||
var favicon = require('serve-favicon');
 | 
			
		||||
app.use(favicon(__dirname + '/assets/favicon.ico'));  // Put this before setting static dir.
 | 
			
		||||
 | 
			
		||||
app.use(express.static('assets'));
 | 
			
		||||
app.use(require('cookie-parser')());
 | 
			
		||||
app.use(bodyParser.text());   // Use defaults for now, size limit is 100kb.
 | 
			
		||||
 | 
			
		||||
@ -38,6 +38,7 @@
 | 
			
		||||
        height: 100%;
 | 
			
		||||
    }
 | 
			
		||||
</style>
 | 
			
		||||
<!-- favicon design by Rockicon of thenounproject.com -->
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user