From 72890735ced2edc8ccecfed811393e951de5c091 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 13 Apr 2019 13:03:18 +0800 Subject: Init separate. --- Timeline/Controllers/UserController.cs | 2 +- Timeline/Controllers/UserTestController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Timeline/Controllers') diff --git a/Timeline/Controllers/UserController.cs b/Timeline/Controllers/UserController.cs index eb1b8513..b9e0979d 100644 --- a/Timeline/Controllers/UserController.cs +++ b/Timeline/Controllers/UserController.cs @@ -6,7 +6,7 @@ using Timeline.Services; namespace Timeline.Controllers { - [Route("api/[controller]")] + [Route("[controller]")] public class UserController : Controller { private static class LoggingEventIds diff --git a/Timeline/Controllers/UserTestController.cs b/Timeline/Controllers/UserTestController.cs index cf5cf074..1c230667 100644 --- a/Timeline/Controllers/UserTestController.cs +++ b/Timeline/Controllers/UserTestController.cs @@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc; namespace Timeline.Controllers { - [Route("api/test/User")] + [Route("Test/User")] public class UserTestController : Controller { [HttpGet("[action]")] -- cgit v1.2.3