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();
|
||||
|
||||
output = string.Empty;
|
||||
using UmoEngine eng = new("/home/nya/Dev/csharp/umogen/umogenkey.secret");
|
||||
using UmoEngine eng = new();
|
||||
UmoProcess proc = new(eng);
|
||||
Thread.Yield();
|
||||
|
||||
|
@ -118,8 +118,8 @@
|
|||
UmoDocumentResult res = new(null, employee, employer, _validity, _payment,
|
||||
anal);
|
||||
|
||||
var bytes = await res.ProcessPdf(Path.Combine("/home/nya/Dev/csharp/umogen/",
|
||||
$"templates/{anal.Doctype.TemplateDoc()}"));
|
||||
var bytes = await res.ProcessPdf(Path.Combine(Environment.GetEnvironmentVariable("UMO_TEMPLATES")!,
|
||||
anal.Doctype.TemplateDoc()));
|
||||
await js.InvokeVoidAsync("blobby", bytes);
|
||||
|
||||
disB = false;
|
||||
|
|
|
@ -16,14 +16,6 @@
|
|||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"https": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "https://localhost:7029;http://localhost:5214",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"IIS Express": {
|
||||
|
@ -33,5 +25,4 @@
|
|||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,5 +5,13 @@
|
|||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://+:8080"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue