Skip to content

Commit

Permalink
feat: add favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
leet4tari committed Feb 28, 2024
1 parent ee1b6d0 commit 2560de9
Show file tree
Hide file tree
Showing 8 changed files with 7,316 additions and 1,902 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ npm-debug.log
.git
.gitignore
.github

# Testing external_libs
external_libs
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,6 @@ dist

# OSX files
.DS_Store

# Testing external_libs
external_libs
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const logger = require("morgan");
const asciichart = require("asciichart");
const cors = require("cors");

var favicon = require('serve-favicon');
var indexRouter = require("./routes/index");
var blocksRouter = require("./routes/blocks");
var mempoolRouter = require("./routes/mempool");
Expand Down Expand Up @@ -81,6 +82,7 @@ var app = express();
app.set("views", path.join(__dirname, "views"));
app.set("view engine", "hbs");

app.use(favicon(path.join(__dirname,'public','favicon.ico')));
app.use(logger("dev"));
app.use(express.json());
app.use(
Expand Down
Loading

0 comments on commit 2560de9

Please sign in to comment.