12345678910111213141516171819 |
- using Microsoft.AspNetCore.Mvc;
- namespace EVCB_OCPP.DBAPI.Controllers
- {
- public class HomeController : Controller
- {
- public IActionResult Index()
- {
- string sshaString = "";
- if (System.IO.File.Exists("ssha"))
- {
- sshaString = System.IO.File.ReadAllText("ssha");
- }
- return Ok($"Git commit:{sshaString}");
- //return View();
- }
- }
- }
|