summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Controllers/LogParserController.cs
blob: 4ed8898ab5c928e24ea931b25b16ab9b8eb1f6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Microsoft.AspNetCore.Mvc;

namespace StardewModdingAPI.Web.Controllers
{
    /// <summary>Provides a web UI and API for parsing SMAPI log files.</summary>
    [Route("log")]
    internal class LogParserController : Controller
    {
        /*********
        ** Public methods
        *********/
        /// <summary>Render the web UI to upload a log file.</summary>
        [HttpGet]
        public ViewResult Index()
        {
            return this.View("Index");
        }
    }
}