Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

chore: cleanup, rm port from createServer

Christian Fei2037969bfaad
diff --git a/index.js b/index.js
index 74d9c06..b83dd10 100644
--- a/index.js
+++ b/index.js
@@ -10,7 +10,7 @@ async function main ({port = 3000, connections = []} = {}) {
summarizing: {},
}
- createServer({repo, state, port, connections})
+ createServer({repo, state, connections})
.listen(port, () => {
console.log(`Server running at http://${os.hostname()}:${port} (or http://localhost:${port})`)
})