mirror of
https://github.com/bitwarden/server.git
synced 2026-02-13 20:33:20 +08:00
25 lines
522 B
C#
25 lines
522 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Diagnostics;
|
|||
|
|
using Microsoft.AspNetCore.Mvc;
|
|||
|
|
using Bit.Admin.Models;
|
|||
|
|
|
|||
|
|
namespace Bit.Admin.Controllers
|
|||
|
|
{
|
|||
|
|
public class HomeController : Controller
|
|||
|
|
{
|
|||
|
|
public IActionResult Index()
|
|||
|
|
{
|
|||
|
|
return View();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public IActionResult Error()
|
|||
|
|
{
|
|||
|
|
return View(new ErrorViewModel
|
|||
|
|
{
|
|||
|
|
RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|