diff --git a/CHANGELOG.md b/CHANGELOG.md index c42a4120..fbc8830f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +- Fix cache issue for watch history +- Video progress not showing in web app + ## [0.38.0] - 2025-05-19 ### Added diff --git a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/PlayletInvidiousBackendRouter.bs b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/PlayletInvidiousBackendRouter.bs index 0192aa91..04e55444 100644 --- a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/PlayletInvidiousBackendRouter.bs +++ b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/PlayletInvidiousBackendRouter.bs @@ -219,10 +219,6 @@ namespace Http response.Json(result.feeds[0]) - if result.DoesExist("cache-control") - response.headers["cache-control"] = result["cache-control"] - end if - return true end function diff --git a/playlet-web/src/lib/VideoFeed/VideoCell.svelte b/playlet-web/src/lib/VideoFeed/VideoCell.svelte index fec84d69..85682485 100644 --- a/playlet-web/src/lib/VideoFeed/VideoCell.svelte +++ b/playlet-web/src/lib/VideoFeed/VideoCell.svelte @@ -19,6 +19,7 @@ export let lengthText: string | undefined = undefined; export let liveNow: boolean = undefined; export let lines: string[] | undefined = undefined; + export let percentDurationWatched: number | undefined = undefined; // svelte-ignore unused-export-let export let type: string = undefined; @@ -207,6 +208,7 @@ bind:lengthText bind:viewCount bind:invidiousInstance + bind:percentDurationWatched />