Add 404 page

Some rework Robots.txt
BugFixes controllers
This commit is contained in:
Дмитрий Шиманский
2023-10-22 15:44:06 +03:00
parent e4537fe81e
commit 76208767b2
7 changed files with 216 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ namespace yaflay.ru.Новая_папка
string? url = await getUrlFromGit(uri);
await Console.Out.WriteLineAsync(url == null ? "Null" : $"notNull {url}");
return Redirect(url ?? "https://yaflay.ru/");
return Redirect(url ?? "https://yaflay.ru/404");
}
// GET: HomeController/Create