A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
10 min updates
Christian Fei541c93ac1574
diff --git a/lib/server.js b/lib/server.jsindex ea5aa75..18662b0 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 * 5)+ }, 1000 * 60 * 10)return http.createServer(async (req, res) => {const url = new URL(req.url, `http://${req.headers.host}`)