Bugfix/base url in docker (#1901)

* fixed: BaseUrl option is not supported in Docker

- discussion in #1824, the checks should not have been added in the first place

* changed: contributors require .NET 7.0+ in order to build
This commit is contained in:
Andy 2023-04-14 14:48:44 -04:00 committed by GitHub
parent f80382ecef
commit c8a16a4370
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 10 deletions

View file

@ -391,7 +391,6 @@ public class Startup
{
try
{
if (new OsInfo(Array.Empty<IOsVersionAdapter>()).IsDocker) return;
var htmlDoc = new HtmlDocument();
var indexHtmlPath = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot", "index.html");
htmlDoc.Load(indexHtmlPath);