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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user