[Spike] ytjs and botguard in web app (#638)

* [Spike] ytjs and boguard in web app

* storyboards and captions

* cache potoken

* captions fix

* Increase session data to 7 days

* changelog

* Fix missing timestamp issue
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-06-04 17:34:56 -04:00
1 parent 002307c45b
commit 03679b781c
12 files changed
+628 -20

No files matched your search

@@ -11,6 +11,7 @@ import "pkg:/components/Web/PlayletWebServer/Middleware/PlayletInvidiousBackendR
import "pkg:/components/Web/PlayletWebServer/Middleware/PlayletLibUrlsRouter.bs"
import "pkg:/components/Web/PlayletWebServer/Middleware/PreferencesRouter.bs"
import "pkg:/components/Web/PlayletWebServer/Middleware/ProfilesRouter.bs"
import "pkg:/components/Web/PlayletWebServer/Middleware/ProxyRouter.bs"
import "pkg:/components/Web/PlayletWebServer/Middleware/RegistryRouter.bs"
import "pkg:/components/Web/PlayletWebServer/Middleware/SearchHistoryRouter.bs"
import "pkg:/components/Web/PlayletWebServer/Middleware/StateApiRouter.bs"
@@ -60,6 +61,7 @@ function SetupRoutes(server as object)
server.UseRouter(new Http.CacheRouter())
server.UseRouter(new Http.RegistryRouter(server))
server.UseRouter(new Http.PlayletInvidiousBackendRouter(server))
server.UseRouter(new Http.ProxyRouter(server))
etags = new Http.EtagUtils()
server.UseRouter(new Http.HttpStaticFilesRouter("/", "libpkg:/www", etags, { staticFiles: true, staticCompressed: true }))