Skip to content

Commit

Permalink
changed worker start script
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet-NJ committed Jan 21, 2025
1 parent c60cd40 commit cd457fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/Components/ContentComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const ContentComp = () => {
hlsRef.current = hls;

// Error handling for HLS
hls.on(Hls.Events.ERROR, (event, data) => {
hls.on(Hls.Events.ERROR, (_, data) => {
if (data.fatal) {
console.error("Fatal HLS error:", data);
switch (data.type) {
Expand Down
2 changes: 1 addition & 1 deletion worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npx tsc -b",
"start": "pm2 start dist/index.js"
"start": "node dist/index.js"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit cd457fd

Please sign in to comment.