Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1266518532 | |||
| 719df155fb |
@@ -47,6 +47,9 @@ pub fn MediaItem(props: MediaItemProps) -> Element
|
|||||||
ContextMenu{
|
ContextMenu{
|
||||||
ContextMenuTrigger{
|
ContextMenuTrigger{
|
||||||
a {
|
a {
|
||||||
|
onmousemove: move |e: MouseEvent|{
|
||||||
|
|
||||||
|
},
|
||||||
class: "mediaItem {class_string}",
|
class: "mediaItem {class_string}",
|
||||||
href: "{HOST}{url}",
|
href: "{HOST}{url}",
|
||||||
target: "_blank",
|
target: "_blank",
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ using SixLabors.ImageSharp.Processing;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net.Http.Headers;
|
using System.Net.Http.Headers;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|||||||
@@ -20,13 +20,13 @@ builder.WebHost.ConfigureKestrel(o =>
|
|||||||
o.Limits.MaxRequestBodySize = null;
|
o.Limits.MaxRequestBodySize = null;
|
||||||
#if !DEBUG
|
#if !DEBUG
|
||||||
o.ListenAnyIP(8081, lo =>
|
o.ListenAnyIP(8081, lo =>
|
||||||
{
|
{
|
||||||
lo.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http2;
|
lo.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http2;
|
||||||
});
|
});
|
||||||
o.ListenAnyIP(8080, lo =>
|
o.ListenAnyIP(8080, lo =>
|
||||||
{
|
{
|
||||||
lo.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http1AndHttp2;
|
lo.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http1AndHttp2;
|
||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
});
|
});
|
||||||
var config = builder.Configuration;
|
var config = builder.Configuration;
|
||||||
|
|||||||
Reference in New Issue
Block a user