json
This commit is contained in:
parent
0ea582f464
commit
1ed2b8d731
3 changed files with 18 additions and 19 deletions
|
@ -103,7 +103,7 @@
|
||||||
await Task.Yield();
|
await Task.Yield();
|
||||||
|
|
||||||
output = string.Empty;
|
output = string.Empty;
|
||||||
using UmoEngine eng = new("/home/nya/Dev/csharp/umogen/umogenkey.secret");
|
using UmoEngine eng = new();
|
||||||
UmoProcess proc = new(eng);
|
UmoProcess proc = new(eng);
|
||||||
Thread.Yield();
|
Thread.Yield();
|
||||||
|
|
||||||
|
@ -118,8 +118,8 @@
|
||||||
UmoDocumentResult res = new(null, employee, employer, _validity, _payment,
|
UmoDocumentResult res = new(null, employee, employer, _validity, _payment,
|
||||||
anal);
|
anal);
|
||||||
|
|
||||||
var bytes = await res.ProcessPdf(Path.Combine("/home/nya/Dev/csharp/umogen/",
|
var bytes = await res.ProcessPdf(Path.Combine(Environment.GetEnvironmentVariable("UMO_TEMPLATES")!,
|
||||||
$"templates/{anal.Doctype.TemplateDoc()}"));
|
anal.Doctype.TemplateDoc()));
|
||||||
await js.InvokeVoidAsync("blobby", bytes);
|
await js.InvokeVoidAsync("blobby", bytes);
|
||||||
|
|
||||||
disB = false;
|
disB = false;
|
||||||
|
|
|
@ -16,14 +16,6 @@
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"https": {
|
|
||||||
"commandName": "Project",
|
|
||||||
"dotnetRunMessages": true,
|
|
||||||
"launchBrowser": true,
|
|
||||||
"applicationUrl": "https://localhost:7029;http://localhost:5214",
|
|
||||||
"environmentVariables": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"IIS Express": {
|
"IIS Express": {
|
||||||
|
@ -33,5 +25,4 @@
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,5 +5,13 @@
|
||||||
"Microsoft.AspNetCore": "Warning"
|
"Microsoft.AspNetCore": "Warning"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"Kestrel": {
|
||||||
|
"Endpoints": {
|
||||||
|
"Http": {
|
||||||
|
"Url": "http://+:8080"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"AllowedHosts": "*"
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue