Elffuss BraidHub

kikocis/osiris public

fix: Remove application/json accept header from stealth fetch so Celestrak text/plain works
Changeseta15c39d57e3b2d9a0022518cf5d49f55ebc508f0b2cefe56ddd2e848f6722bd7
AuthorGemini CLI <gemini@example.com> · 2026-05-26 21:57 -04:00
CommitterGemini CLI <gemini@example.com> · 2026-05-26 21:57 -04:00
Parentsc78b896d2788

Browse the files at this changeset

5 files changed

modified README.md +1 −0
@@ -5,6 +5,7 @@
55 ### Open Source Intelligence & Reconnaissance Integrated System
66
77 [![Live Demo](https://img.shields.io/badge/osirisai.live-00E5FF?style=for-the-badge&logo=vercel&logoColor=white)](https://osirislive.app)
8+[![Support OSIRIS](https://img.shields.io/badge/Support_Project-Patreon-FF424D?style=for-the-badge&logo=patreon&logoColor=white)](https://www.patreon.com/posts/159077425)
89 [![Next.js](https://img.shields.io/badge/Next.js-16-black?style=for-the-badge&logo=next.js)](https://nextjs.org)
910 [![TypeScript](https://img.shields.io/badge/TypeScript-5-3178C6?style=for-the-badge&logo=typescript&logoColor=white)](https://typescriptlang.org)
1011 [![MapLibre](https://img.shields.io/badge/MapLibre_GL-GPU_Rendered-396CB2?style=for-the-badge)](https://maplibre.org)
modified package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.

modified package.json +1 −0
@@ -17,6 +17,7 @@
1717 "next": "16.2.6",
1818 "react": "19.2.4",
1919 "react-dom": "19.2.4",
20+ "react-force-graph-2d": "^1.29.1",
2021 "react-map-gl": "^8.1.1",
2122 "rss-parser": "^3.13.0",
2223 "satellite.js": "^7.0.0",
modified src/app/api/satellites/route.ts +1 −0
@@ -173,6 +173,7 @@
173173 try {
174174 const res = await stealthFetch(source.url, {
175175 signal: AbortSignal.timeout(12000),
176+ headers: { 'Accept': 'text/plain, */*; q=0.5' },
176177 });
177178 if (!res.ok) return null;
178179 const text = await res.text();
modified src/lib/stealthFetch.ts +0 −1
@@ -77,7 +77,6 @@
7777 'X-Forwarded-For': ip,
7878 'X-Real-IP': ip,
7979 'Client-IP': ip,
80- 'Accept': 'application/json',
8180 'Accept-Language': 'en-US,en;q=0.9',
8281 'Accept-Encoding': 'gzip, deflate, br',
8382 ...extraHeaders,