Skip to content

Commit

Permalink
Fix issues with 404
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ngr31 committed Jan 25, 2024
1 parent a5bfc08 commit 464bc3e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img src="https://i.imgur.com/FIGZdR3.png">
</p>

Current version: **2.1.7**
Current version: **2.1.8**

# About
This takes ESPN/ESPN+, FOX Sports, Paramount+, MSG+, and MLB.tv programming and transforms it into a "live TV" experience with virtual linear channels. It will discover what is on, and generate a schedule of channels that will give you M3U and XMLTV files that you can import into something like [Jellyfin](https://jellyfin.org) or [Channels](https://getchannels.com).
Expand Down
14 changes: 8 additions & 6 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ import {SERVER_PORT} from './services/port';

import {version} from './package.json';

const notFound = (_req, res) =>
res
.writeHead(404, {
'X-Tuner-Error': 'EPlusTV: Error getting content',
})
.send('404 not found');
const notFound = (_req, res) => {
res.writeHead(404, {
'X-Tuner-Error': 'EPlusTV: Error getting content',
});
res.write('404 not found');
res.end();
};

const shutDown = () => process.exit(0);

const schedule = async () => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eplustv",
"version": "2.1.7",
"version": "2.1.8",
"description": "",
"scripts": {
"start": "ts-node index.ts",
Expand Down

0 comments on commit 464bc3e

Please sign in to comment.