mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-02-08 09:45:44 +00:00
Fix downloader bug, use plink and add icon to plugin template
This commit is contained in:
@@ -48,7 +48,7 @@ class TYTDApp {
|
||||
var v = ctx.QueryParams.TryGetFirst("v");
|
||||
if(TypeIsString(v))
|
||||
{
|
||||
const video = this.TYTD.GetVideo(id);
|
||||
const video = this.TYTD.GetVideo(v);
|
||||
if(TypeIsDefined(video))
|
||||
{
|
||||
ctx.WithMimeType("text/html").SendText(Pages.VideoEmbed(v, video.title));
|
||||
|
||||
Reference in New Issue
Block a user