A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
updates 5 min
Christian Feibcd527f5d0df
diff --git a/lib/server.js b/lib/server.jsindex 205d089..9062b95 100644--- a/lib/server.js+++ b/lib/server.js@@ -14,7 +14,7 @@ export function createServer ({repo, connections = []}) {updateAndPersistVideos(repo, ({name, videos}) => {broadcastSSE(JSON.stringify({type: 'channel', name, videos}), connections)})- }, 1000 * 60 * 1)+ }, 1000 * 60 * 5)return http.createServer(async (req, res) => {const url = new URL(req.url, `http://${req.headers.host}`)