Skip to content
This repository was archived by the owner on Aug 9, 2026. It is now read-only.

Commit d931e74

Browse files
merge: PR #5 by Nivmizz7
2 parents 6c92bbe + 83c9bae commit d931e74

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div align="center">
22

33
<h1>
4-
TarkovData
4+
<img src="https://logo.tarkovlab.org/tl-data" alt="TarkovLab" width="300" height="250" style="vertical-align:middle;" />
55
</h1>
66

77
<p>Community-maintained game data for <strong>Escape From Tarkov</strong>, powering tools built on the <a href="https://tarkovlab.org">TarkovLab</a> ecosystem.</p>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tarkovdata",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Escape From Tarkov game data for external tools & fan sites",
55
"main": "index.js",
66
"scripts": {

server.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ const server = http.createServer((req, res) => {
6464
const url = new URL(req.url, `http://${req.headers.host}`);
6565
const pathname = decodeURIComponent(url.pathname);
6666

67+
// Serve favicon – redirect to TarkovLab logo CDN
68+
if (pathname === '/favicon.ico') {
69+
res.writeHead(302, { Location: 'https://logo.tarkovlab.org/tl-icon' });
70+
res.end();
71+
return;
72+
}
73+
6774
// Serve index at /
6875
if (pathname === '/' || pathname === '') {
6976
serveIndex(res);

0 commit comments

Comments
 (0)