diff --git a/public/assets/favicon.ico b/public/assets/favicon.ico new file mode 100644 index 0000000..2798718 Binary files /dev/null and b/public/assets/favicon.ico differ diff --git a/public/create.html b/public/create.html index d04329c..1c93e5d 100644 --- a/public/create.html +++ b/public/create.html @@ -6,6 +6,7 @@ テーブル作成 - Hold'em Night + diff --git a/public/key.html b/public/key.html index e2b33ce..c96c0e7 100644 --- a/public/key.html +++ b/public/key.html @@ -6,6 +6,7 @@ Hold'em Night + diff --git a/public/lobby.html b/public/lobby.html index b6426c0..f67aa16 100644 --- a/public/lobby.html +++ b/public/lobby.html @@ -6,6 +6,7 @@ Hold'em Night + diff --git a/public/table.html b/public/table.html index 5084471..38c2694 100644 --- a/public/table.html +++ b/public/table.html @@ -6,6 +6,7 @@ テーブル - Hold'em Night + diff --git a/server/index.js b/server/index.js index 90048ad..8d5dd6d 100644 --- a/server/index.js +++ b/server/index.js @@ -67,6 +67,7 @@ const tables = new TableManager(); // ---------- 認証不要 ---------- app.use('/assets', express.static(path.join(PUBLIC, 'assets'), { index: false, dotfiles: 'deny' })); +app.get('/favicon.ico', (req, res) => res.sendFile(path.join(PUBLIC, 'assets', 'favicon.ico'))); app.get('/robots.txt', (req, res) => res.type('text/plain').send('User-agent: *\nDisallow: /\n')); app.get('/key', (req, res) => { if (auth.isAuthed(req)) return res.redirect(auth.safeNext(req.query.next));