Fix downloader bug, use plink and add icon to plugin template

This commit is contained in:
2025-12-28 15:28:18 -06:00
parent 95a3585648
commit 67de5e2d6d
2 changed files with 2 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ class PluginServer
{ {
public Handle(ctx) public Handle(ctx)
{ {
ctx.WithMimeType().SendText(<div><h1>Hello, world from @%PROJECT_NAME<h1><p>Path: {ctx.Path}, OriginalPath: {ctx.OriginalPath}</p></div>); ctx.WithMimeType().SendText(<div><h1>Hello, world from %PROJECT_NAME%<h1><p>Path: {ctx.Path}, OriginalPath: {ctx.OriginalPath}</p></div>);
return true; return true;
} }
} }

View File

@@ -32,9 +32,7 @@ func Pages.VideoEmbed(id, name)
<p class="vjs-no-js"> <p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a To view this video please enable JavaScript, and consider upgrading to a
web browser that web browser that
<a href="https://videojs.com/html5-video-support/" target="_blank" <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
>supports HTML5 video</a
>
</p> </p>
</video> </video>
</body> </body>