This commit is contained in:
@@ -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,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