19 lines
449 B
C#
19 lines
449 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.IO;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarParkValidationAPI.Controllers
|
|
{
|
|
public class FallbackController : Controller
|
|
{
|
|
public IActionResult Index()
|
|
{
|
|
return PhysicalFile(Path.Combine(Directory.GetCurrentDirectory(),
|
|
"wwwroot", "index.html"), "text/HTML");
|
|
}
|
|
}
|
|
}
|