This commit is contained in:
@@ -243,7 +243,6 @@ IMPORTANT NOTES:
|
||||
|
||||
DOCKER / LINUX CHEAT SHEET
|
||||
Alpine linux enter container and run shell from docker:
|
||||
docker run -it [container_id] /bin/ash
|
||||
|
||||
sudo docker exec -it xfer_ayanova_1 ash
|
||||
|
||||
|
||||
|
||||
@@ -519,6 +519,11 @@ namespace AyaNova.Biz
|
||||
//render to pdf and return
|
||||
log.LogDebug($"Calling render page contents to PDF");
|
||||
await page.PdfAsync(outputFullPath);
|
||||
|
||||
//close the browser
|
||||
// log.LogDebug($"Closing browser");
|
||||
// await browser.CloseAsync();
|
||||
|
||||
log.LogDebug($"Completed, returning results");
|
||||
return outputFileName;
|
||||
}
|
||||
@@ -536,6 +541,10 @@ namespace AyaNova.Biz
|
||||
// var v=await page.GetContentAsync();
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
await browser.CloseAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace AyaNova.Util
|
||||
/// </summary>
|
||||
internal static class AyaNovaVersion
|
||||
{
|
||||
public const string VersionString = "8.0.0-alpha.17";
|
||||
public const string VersionString = "8.0.0-alpha.18";
|
||||
public const string FullNameAndVersion = "AyaNova server " + VersionString;
|
||||
}//eoc
|
||||
}//eons
|
||||
Reference in New Issue
Block a user