supressing warnings
This commit is contained in:
parent
b8da0c379d
commit
eb03329441
|
@ -1,5 +1,10 @@
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
#pragma warning disable CS8618
|
||||
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer;
|
||||
|
||||
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
internal class AccToken
|
||||
{
|
||||
public String token { get; init; }
|
||||
|
|
|
@ -12,7 +12,10 @@ using static InnovEnergy.App.OpenVpnCertificatesServer.PKI.CertificateAuthority;
|
|||
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer;
|
||||
|
||||
// export SolutionDir=$(pwd)
|
||||
// dotnet publish OpenVpnCertificatesServer.csproj -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained true && scp bin/Release/net6.0/linux-x64/publish/OpenVpnCertificatesServer ig@salidomo.innovenergy.ch:~/get_cert/get_cert
|
||||
// scp bin/Release/net6.0/linux-x64/publish/token.json ig@salidomo.innovenergy.ch:~/get_cert/token.json
|
||||
|
||||
|
||||
// http://localhost:4000/get_cert?machine_serial=HQ2032UAWYM
|
||||
// http://localhost:4000/get_cert?unique_id=985dadd0cf29
|
||||
|
|
Loading…
Reference in New Issue