cleanup, modify launch settings
This commit is contained in:
parent
e2702c00ee
commit
8a8e90d10b
2 changed files with 9 additions and 11 deletions
|
|
@ -6,7 +6,6 @@ public class ImageGenerator
|
|||
{
|
||||
public byte[] GenerateImage3(RequestBody requestBody)
|
||||
{
|
||||
var start = DateTime.Now;
|
||||
string[] inputs = requestBody.CanvasRect.Split(":");
|
||||
double scale = requestBody.OutputScale;
|
||||
Coordinate a1 = new Coordinate("A1");
|
||||
|
|
@ -60,9 +59,6 @@ public class ImageGenerator
|
|||
});
|
||||
|
||||
var result = canvas.ImEncode();
|
||||
var end = DateTime.Now;
|
||||
var elapsed = end - start;
|
||||
Console.WriteLine($"Elapsed: {elapsed.TotalMilliseconds} ms");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,26 +12,28 @@
|
|||
"http": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"launchBrowser": false,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "http://localhost:5184",
|
||||
"applicationUrl": "http://localhost:80",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"ASSET_PATH_RO" : "D:/tiles1705/"
|
||||
}
|
||||
},
|
||||
"https": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"launchBrowser": false,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "https://localhost:7224;http://localhost:5184",
|
||||
"applicationUrl": "https://localhost:4430;http://localhost:80",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"ASSET_PATH_RO" : "D:/tiles1705/"
|
||||
}
|
||||
},
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchBrowser": false,
|
||||
"launchUrl": "swagger",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue