dev #1
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
@ -13,7 +13,7 @@
|
||||
<RepositoryUrl>https://github.com/JacobTech-com/Luski.net</RepositoryUrl>
|
||||
<IncludeSymbols>True</IncludeSymbols>
|
||||
<FileVersion>1.0.0</FileVersion>
|
||||
<Version>2.0.0-alpha24</Version>
|
||||
<Version>2.0.0-alpha25</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -288,6 +288,7 @@ public class ServerStorage
|
||||
|
||||
public Stream GetResourceStream(StorageDirectory Directory, string Resource)
|
||||
{
|
||||
return File.OpenRead(Location + Directories[(byte)Directory] + "/" + Resource);
|
||||
byte[] buffer = new byte[16 * 1024];
|
||||
MemoryStream ms = new();
|
||||
using (FileStream r = File.OpenRead(Location + Directories[(byte)Directory] + "/" + Resource))
|
||||
@ -305,6 +306,7 @@ public class ServerStorage
|
||||
|
||||
public Stream GetResourceStream(string dir)
|
||||
{
|
||||
return File.OpenRead(dir);
|
||||
byte[] buffer = new byte[16 * 1024];
|
||||
MemoryStream ms = new();
|
||||
using (FileStream r = File.OpenRead(dir))
|
||||
|
@ -30,7 +30,7 @@ public partial class Server
|
||||
}
|
||||
|
||||
internal bool Secure = true;
|
||||
internal string wssurl;
|
||||
internal string wssurl { get; set; } = "";
|
||||
|
||||
public ServerEncryption EncryptionHandler { get; }
|
||||
public ServerStorage Storage { get; }
|
||||
|
Loading…
Reference in New Issue
Block a user