Skip to content

armgit / my-yt

Public Imported from GitHub
0

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

JavaScript

fix: serve /lib/api.js with correct MIME type

Christian Feife35dce4c56e
diff --git a/server/router/app.js b/server/router/app.js
index 0fc93e8..125d030 100644
--- a/server/router/app.js
+++ b/server/router/app.js
@@ -8,7 +8,7 @@ const staticFiles = {
}
const jsFiles = [
- '/main.js', '/lib/store.js', '/lib/router.js', '/lib/utils.js',
+ '/main.js', '/lib/store.js', '/lib/router.js', '/lib/utils.js', '/lib/api.js',
'/components/video-element.js', '/components/videos-container.js', '/components/sse-connection.js',
'/components/search-videos.js', '/components/channels-list.js', '/components/empty-state.js',
'/components/forms/add-channel-form.js', '/components/forms/manage-channels-form.js',