Skip to content

armgit / my-yt

Public Imported from GitHub
0

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

JavaScript

refactor: extract app handler

Christian Fei334cac83a10b
diff --git a/lib/server.js b/lib/server.js
index 97c8ffd..6df8a3d 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -1,6 +1,5 @@
import http from 'http'
import { URL } from 'url'
-import fs from 'fs'
import { handleSSE, broadcastSSE } from './sse.js'
import { updateAndPersistVideos } from './update-videos.js'
import apiHandler from './router/api.js'